Skip to content

Commit

Permalink
update framework
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Dec 28, 2023
1 parent 43a3fd9 commit 7b50f8c
Show file tree
Hide file tree
Showing 12 changed files with 179 additions and 299 deletions.
256 changes: 74 additions & 182 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piggybank"
version = "0.5.4"
version = "0.5.5"
authors = ["Julian Ćwirko <[email protected]>"]
edition = "2021"
publish = false
Expand All @@ -9,7 +9,7 @@ publish = false
path = "src/lib.rs"

[dependencies.multiversx-sc]
version = "0.45.1"
version = "0.45.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.45.1"
version = "0.45.2"
2 changes: 1 addition & 1 deletion interactions/devnet.snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ payOut() {
}

upgrade() {
mxpy --verbose contract upgrade ${SC_ADDRESS} --bytecode=${BYTECODE_PATH} --chain=${CHAIN_ID} --pem=${USER_PEM} --gas-limit=2000000 --proxy=${PROXY} --recall-nonce --send
mxpy --verbose contract upgrade ${SC_ADDRESS} --bytecode=${BYTECODE_PATH} --chain=${CHAIN_ID} --pem=${USER_PEM} --gas-limit=10000000 --proxy=${PROXY} --recall-nonce --send
}
75 changes: 27 additions & 48 deletions meta/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "piggybank-meta"
version = "0.5.4"
version = "0.5.5"
authors = ["Julian Ćwirko <[email protected]>"]
edition = "2021"
publish = false
Expand All @@ -9,4 +9,4 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.45.1"
version = "0.45.2"
18 changes: 12 additions & 6 deletions output/piggybank.abi.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"buildInfo": {
"rustc": {
"version": "1.73.0-nightly",
"commitHash": "db7ff98a72f3e742b641f9cb16d0e8c285e87e9b",
"commitDate": "2023-07-31",
"version": "1.71.0-nightly",
"commitHash": "a2b1646c597329d0a25efa3889b66650f65de1de",
"commitDate": "2023-05-25",
"channel": "Nightly",
"short": "rustc 1.73.0-nightly (db7ff98a7 2023-07-31)"
"short": "rustc 1.71.0-nightly (a2b1646c5 2023-05-25)"
},
"contractCrate": {
"name": "piggybank",
"version": "0.5.4"
"version": "0.5.5"
},
"framework": {
"name": "multiversx-sc",
"version": "0.45.1"
"version": "0.45.2"
}
},
"name": "PiggyBank",
Expand All @@ -22,6 +22,12 @@
"outputs": []
},
"endpoints": [
{
"name": "upgrade",
"mutability": "mutable",
"inputs": [],
"outputs": []
},
{
"name": "createPiggy",
"mutability": "mutable",
Expand Down
22 changes: 14 additions & 8 deletions output/piggybank.mxsc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"buildInfo": {
"rustc": {
"version": "1.73.0-nightly",
"commitHash": "db7ff98a72f3e742b641f9cb16d0e8c285e87e9b",
"commitDate": "2023-07-31",
"version": "1.71.0-nightly",
"commitHash": "a2b1646c597329d0a25efa3889b66650f65de1de",
"commitDate": "2023-05-25",
"channel": "Nightly",
"short": "rustc 1.73.0-nightly (db7ff98a7 2023-07-31)"
"short": "rustc 1.71.0-nightly (a2b1646c5 2023-05-25)"
},
"contractCrate": {
"name": "piggybank",
"version": "0.5.4"
"version": "0.5.5"
},
"framework": {
"name": "multiversx-sc",
"version": "0.45.1"
"version": "0.45.2"
}
},
"abi": {
Expand All @@ -23,6 +23,12 @@
"outputs": []
},
"endpoints": [
{
"name": "upgrade",
"mutability": "mutable",
"inputs": [],
"outputs": []
},
{
"name": "createPiggy",
"mutability": "mutable",
Expand Down Expand Up @@ -84,6 +90,6 @@
"hasCallback": false,
"types": {}
},
"size": 2360,
"code": "0061736d01000000014c0e60000060027f7f017f60017f017f60017f006000017f60027f7f0060037f7f7f017f60017f017e60047f7f7f7f017f6000017e60027f7e0060037f7f7f0060057f7f7e7f7f017f60017e0002e6041903656e760b7369676e616c4572726f72000503656e760d6d616e6167656443616c6c6572000303656e76126d427566666572417070656e644279746573000603656e76126d616e616765645369676e616c4572726f72000303656e761b736d616c6c496e74476574556e7369676e6564417267756d656e74000703656e76126d427566666572476574417267756d656e74000103656e76106d4275666665724765744c656e677468000203656e760f6765744e756d417267756d656e7473000403656e760f6d4275666665725365744279746573000603656e76126d42756666657253746f726167654c6f6164000103656e760d6d427566666572417070656e64000103656e76136d42756666657253746f7261676553746f7265000103656e76176d427566666572546f426967496e74556e7369676e6564000103656e76136d42756666657247657442797465536c696365000803656e760e636865636b4e6f5061796d656e74000003656e7611676574426c6f636b54696d657374616d70000903656e76136765744e756d455344545472616e7366657273000403656e7612626967496e7447657443616c6c56616c7565000303656e760e626967496e74536574496e743634000a03656e7609626967496e74416464000b03656e76196d42756666657246726f6d426967496e74556e7369676e6564000103656e760a626967496e745369676e000203656e761b6d616e616765645472616e7366657256616c756545786563757465000c03656e7614626967496e7446696e697368556e7369676e6564000303656e7616736d616c6c496e7446696e697368556e7369676e6564000d0317160504040104030205030207020202000000000000000005030100030616037f01418080080b7f0041e482080b7f0041f082080b077a0a066d656d6f7279020004696e697400270b6372656174655069676779002809616464416d6f756e740029067061794f7574002a0f6765744c6f636b6564416d6f756e74002b0b6765744c6f636b54696d65002c0863616c6c4261636b002d0a5f5f646174615f656e6403010b5f5f686561705f6261736503020acf08160900200020011000000b0c01017f101b2200100120000b1901017f41dc820841dc820828020041016b220036020020000b1101017f101b22022000200110081a20020b4701017f4100101b220010051a200010064120470440418080084117101c220041a08108410b10021a200041978008410310021a200041fc8008411010021a20001003000b20000b1400100720004604400f0b41bf800841191000000b0d002000101b220010091a20000b0c0020002001280200100a1a0b1400416c41cc8208410010081a2000416c100b1a0b0f002000101f101b2200100c1a20000b8b0102027f017e230041106b22022400200242003703082000101f2201100622004109490440200141002000200241086a100d1a02402000450d00200241086a210103402000450d01200041016b210020013100002003420886842103200141016a21010c000b000b200241106a240020030f0b41e680084116101c220041d88008410e10021a20001003000b0e002000416710091a41671006450b1401017f418c8108410c101c22012000102020010b1401017f419881084108101c22012000102020010b0800100e4100101e0bf30102017e047f230041106b22012400100e4101101e4100100421002001101a36020402400240200141046a102610240440100f20005a0d01200141046a10262001200042388620004280fe0383422886842000428080fc0783421886200042808080f80f834208868484200042088842808080f80f832000421888428080fc07838420004228884280fe03832000423888848484370308034020024108460d030240200141086a20026a22042d0000044020024109490d01102e000b200241016a21020c010b0b2004410820026b101c100b1a200141106a24000f0b41f58108411a1019000b41d3810841221019000b102e000ba20101047f230041106b22002400024010104504404100101e41e08208280200220141ffffffff0746044041e08208417536020041751011417521010b2000101a36020c2000410c6a102610240d012000410c6a102510222103101b220242001012200220022001101320032003200210132000410c6a1025101b2201200310141a2001100b1a200041106a24000f0b419a800841251000000b41ab810841281019000b9a0101057f230041106b22002400100e4100101e2000101a36020c02402000410c6a10261023100f5404402000410c6a10251022101541004c0d012000410c6a2201102510222102416741cc8208410010081a200028020c101b220441cc8208410010081a200242002004416710161a2000410c6a10251021200110261021200041106a24000f0b41ab820841211019000b418f8208411c1019000b2c01017f230041106b22002400100e4101101e2000101d36020c2000410c6a102510221017200041106a24000b2c01017f230041106b22002400100e4101101e2000101d36020c2000410c6a102610231018200041106a24000b0300010b0b0041cc8208410e1000000b0bf2020200418080080bda02617267756d656e74206465636f6465206572726f722028293a2066756e6374696f6e20646f6573206e6f74206163636570742045534454207061796d656e7477726f6e67206e756d626572206f6620617267756d656e7473696e70757420746f6f206c6f6e6773746f72616765206465636f6465206572726f723a20626164206172726179206c656e6774686c6f636b6564416d6f756e746c6f636b54696d6570696767795f6f776e6572596f75206e65656420746f2063726561746520796f75722070696767792062616e6b2066697273744c6f636b2074696d652073686f756c6420626520696e207468652066757475726521596f7520616c72656164792068617665206f6e652070696767795468657265206973206e6f7468696e6720746f207769746864726177596f752063616e277420776974686472617720796f7572206d6f6e65792079657470616e6963206f636375727265640041dc82080b089cffffffffffff7f"
"size": 2371,
"code": "0061736d01000000014c0e60000060027f7f017f60017f017f60017f006000017f60027f7f0060037f7f7f017f60017f017e60047f7f7f7f017f6000017e60027f7e0060037f7f7f0060057f7f7e7f7f017f60017e0002e6041903656e760b7369676e616c4572726f72000503656e760d6d616e6167656443616c6c6572000303656e76126d427566666572417070656e644279746573000603656e76126d616e616765645369676e616c4572726f72000303656e761b736d616c6c496e74476574556e7369676e6564417267756d656e74000703656e76126d427566666572476574417267756d656e74000103656e76106d4275666665724765744c656e677468000203656e760f6765744e756d417267756d656e7473000403656e760f6d4275666665725365744279746573000603656e76126d42756666657253746f726167654c6f6164000103656e760d6d427566666572417070656e64000103656e76136d42756666657253746f7261676553746f7265000103656e76176d427566666572546f426967496e74556e7369676e6564000103656e76136d42756666657247657442797465536c696365000803656e760e636865636b4e6f5061796d656e74000003656e7611676574426c6f636b54696d657374616d70000903656e76136765744e756d455344545472616e7366657273000403656e7612626967496e7447657443616c6c56616c7565000303656e760e626967496e74536574496e743634000a03656e7609626967496e74416464000b03656e76196d42756666657246726f6d426967496e74556e7369676e6564000103656e760a626967496e745369676e000203656e761b6d616e616765645472616e7366657256616c756545786563757465000c03656e7614626967496e7446696e697368556e7369676e6564000303656e7616736d616c6c496e7446696e697368556e7369676e6564000d0317160504040104030205030207020202000000000000000005030100030616037f01418080080b7f0041e482080b7f0041f082080b0784010b066d656d6f7279020004696e697400270b6372656174655069676779002809616464416d6f756e740029067061794f7574002a0f6765744c6f636b6564416d6f756e74002b0b6765744c6f636b54696d65002c0863616c6c4261636b002d077570677261646500270a5f5f646174615f656e6403010b5f5f686561705f6261736503020acf08160900200020011000000b0c01017f101b2200100120000b1901017f41dc820841dc820828020041016b220036020020000b1101017f101b22022000200110081a20020b4701017f4100101b220010051a200010064120470440418080084117101c220041a08108410b10021a200041978008410310021a200041fc8008411010021a20001003000b20000b1400100720004604400f0b41bf800841191000000b0d002000101b220010091a20000b0c0020002001280200100a1a0b1400416c41cc8208410010081a2000416c100b1a0b0f002000101f101b2200100c1a20000b8b0102027f017e230041106b22022400200242003703082000101f2201100622004109490440200141002000200241086a100d1a02402000450d00200241086a210103402000450d01200041016b210020013100002003420886842103200141016a21010c000b000b200241106a240020030f0b41e680084116101c220041d88008410e10021a20001003000b0e002000416710091a41671006450b1401017f418c8108410c101c22012000102020010b1401017f419881084108101c22012000102020010b0800100e4100101e0bf30102017e047f230041106b22012400100e4101101e4100100421002001101a36020402400240200141046a102610240440100f20005a0d01200141046a10262001200042388620004280fe0383422886842000428080fc0783421886200042808080f80f834208868484200042088842808080f80f832000421888428080fc07838420004228884280fe03832000423888848484370308034020024108460d030240200141086a20026a22042d0000044020024109490d01102e000b200241016a21020c010b0b2004410820026b101c100b1a200141106a24000f0b41d38108411a1019000b41ed810841221019000b102e000ba20101047f230041106b22002400024010104504404100101e41e08208280200220141ffffffff0746044041e08208417536020041751011417521010b2000101a36020c2000410c6a102610240d012000410c6a102510222103101b220242001012200220022001101320032003200210132000410c6a1025101b2201200310141a2001100b1a200041106a24000f0b419a800841251000000b41ab810841281019000b9a0101057f230041106b22002400100e4100101e2000101a36020c02402000410c6a10261023100f5404402000410c6a10251022101541004c0d012000410c6a2201102510222102416741cc8208410010081a200028020c101b220441cc8208410010081a200242002004416710161a2000410c6a10251021200110261021200041106a24000f0b418f820841211019000b41b08208411c1019000b2c01017f230041106b22002400100e4101101e2000101d36020c2000410c6a102510221017200041106a24000b2c01017f230041106b22002400100e4101101e2000101d36020c2000410c6a102610231018200041106a24000b0300010b0b0041cc8208410e1000000b0bf2020200418080080bda02617267756d656e74206465636f6465206572726f722028293a2066756e6374696f6e20646f6573206e6f74206163636570742045534454207061796d656e7477726f6e67206e756d626572206f6620617267756d656e7473696e70757420746f6f206c6f6e6773746f72616765206465636f6465206572726f723a20626164206172726179206c656e6774686c6f636b6564416d6f756e746c6f636b54696d6570696767795f6f776e6572596f75206e65656420746f2063726561746520796f75722070696767792062616e6b206669727374596f7520616c72656164792068617665206f6e652070696767794c6f636b2074696d652073686f756c6420626520696e207468652066757475726521596f752063616e277420776974686472617720796f7572206d6f6e6579207965745468657265206973206e6f7468696e6720746f20776974686472617770616e6963206f636375727265640041dc82080b089cffffffffffff7f"
}
Binary file modified output/piggybank.wasm
Binary file not shown.
Loading

0 comments on commit 7b50f8c

Please sign in to comment.