Skip to content

Commit 6c7eed2

Browse files
Merge pull request #937 from multiversx/mandos-promises-update
mandos - promises test update
2 parents c2734bd + 51bb473 commit 6c7eed2

File tree

77 files changed

+2227
-531
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+2227
-531
lines changed

integrationTests/json/scenariosAdderLog_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ GetPointsUsed: 135352
5858
GetPointsUsed: 135352
5959
Reset: true
6060
SetPointsUsed: 0
61-
SetGasLimit: 9223372036853567007
61+
SetGasLimit: 9223372036853566107
6262
SetBreakpointValue: 0
6363
HasFunction(getSum): true
6464
CallFunction(getSum):
@@ -114,7 +114,7 @@ GetPointsUsed: 37624
114114
GetPointsUsed: 37624
115115
Reset: true
116116
SetPointsUsed: 0
117-
SetGasLimit: 3791200
117+
SetGasLimit: 3790300
118118
SetBreakpointValue: 0
119119
HasFunction(add): true
120120
CallFunction(add):

test/adder/output/adder.mxsc.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"buildInfo": {
33
"rustc": {
4-
"version": "1.84.1",
5-
"commitHash": "e71f9a9a98b0faf423844bf0ba7438f29dc27d58",
6-
"commitDate": "2025-01-27",
4+
"version": "1.87.0",
5+
"commitHash": "17067e9ac6d7ecb70e50f92c1944e545188d2359",
6+
"commitDate": "2025-05-09",
77
"channel": "Stable",
8-
"short": "rustc 1.84.1 (e71f9a9a9 2025-01-27)"
8+
"short": "rustc 1.87.0 (17067e9ac 2025-05-09)"
99
},
1010
"contractCrate": {
1111
"name": "adder",
1212
"version": "0.0.0"
1313
},
1414
"framework": {
1515
"name": "multiversx-sc",
16-
"version": "0.55.0"
16+
"version": "0.59.0"
1717
}
1818
},
1919
"abi": {
@@ -70,7 +70,7 @@
7070
"hasCallback": false,
7171
"types": {}
7272
},
73-
"code": "0061736d010000000129086000006000017f60027f7f017f60027f7f0060017f0060037f7f7f017f60037f7f7f0060017f017f0290020b03656e7619626967496e74476574556e7369676e6564417267756d656e74000303656e760f6765744e756d417267756d656e7473000103656e760b7369676e616c4572726f72000303656e76196d42756666657246726f6d426967496e74556e7369676e6564000203656e76136d42756666657253746f7261676553746f7265000203656e76126d42756666657253746f726167654c6f6164000203656e76176d427566666572546f426967496e74556e7369676e6564000203656e760f6d4275666665725365744279746573000503656e760e636865636b4e6f5061796d656e74000003656e7614626967496e7446696e697368556e7369676e6564000403656e7609626967496e744164640006030b0a010104030701000000000503010003060f027f0041a080080b7f0041a080080b075008066d656d6f7279020004696e697400110667657453756d00120361646400130863616c6c4261636b0014077570677261646500110a5f5f646174615f656e6403000b5f5f686561705f6261736503010ac9010a0e01017f4100100c2200100020000b1901017f419c8008419c800828020041016b220036020020000b1400100120004604400f0b4180800841191002000b1401017f100c2202200110031a2000200210041a0b16002000100c220010051a2000100c220010061a20000b1301017f100c220041998008410310071a20000b1401017f10084101100d100b210010102000100e0b0e0010084100100d1010100f10090b2201037f10084101100d100b210110102202100f220020002001100a20022000100e0b02000b0b2f0200418080080b1c77726f6e67206e756d626572206f6620617267756d656e747373756d00419c80080b0438ffffff",
73+
"code": "0061736d010000000129086000006000017f60027f7f017f60027f7f0060017f0060037f7f7f017f60037f7f7f0060017f017f0290020b03656e7619626967496e74476574556e7369676e6564417267756d656e74000303656e760f6765744e756d417267756d656e7473000103656e760b7369676e616c4572726f72000303656e76196d42756666657246726f6d426967496e74556e7369676e6564000203656e76136d42756666657253746f7261676553746f7265000203656e76126d42756666657253746f726167654c6f6164000203656e76176d427566666572546f426967496e74556e7369676e6564000203656e760f6d4275666665725365744279746573000503656e760e636865636b4e6f5061796d656e74000003656e7614626967496e7446696e697368556e7369676e6564000403656e7609626967496e744164640006030b0a010104030701000000000503010003060f027f0041a080080b7f0041a080080b075008066d656d6f7279020004696e697400110667657453756d00120361646400130863616c6c4261636b0014077570677261646500110a5f5f646174615f656e6403000b5f5f686561705f6261736503010c01020ac9010a0e01017f4100100c2200100020000b1901017f419c8008419c800828020041016b220036020020000b1400100120004604400f0b4180800841191002000b1401017f100c2202200110031a2000200210041a0b16002000100c220010051a2000100c220010061a20000b1301017f100c220041998008410310071a20000b1401017f10084101100d100b210010102000100e0b0e0010084100100d1010100f10090b2201037f10084101100d100b210110102202100f220020002001100a20022000100e0b02000b0b2f0200418080080b1c77726f6e67206e756d626572206f6620617267756d656e747373756d00419c80080b0438ffffff",
7474
"report": {
7575
"imports": [
7676
"bigIntAdd",
@@ -87,12 +87,12 @@
8787
],
8888
"isMemGrow": false,
8989
"eiCheck": {
90-
"eiVersion": "1.3",
90+
"eiVersion": "1.4",
9191
"ok": true
9292
},
9393
"codeReport": {
9494
"path": "../output/adder.wasm",
95-
"size": 696,
95+
"size": 699,
9696
"hasAllocator": false,
9797
"hasPanic": "None"
9898
}

test/crowdfunding-esdt/output/crowdfunding-esdt.mxsc.json

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

test/digital-cash/output/digital-cash.mxsc.json

Lines changed: 13 additions & 51 deletions
Large diffs are not rendered by default.

test/digital-cash/scenarios/claim-egld.scen.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,9 @@
132132
"storage": {
133133
"str:deposit|0x487bd4010b50c24a02018345fe5171edf4182e6294325382c75ef4c4409f01bd": {
134134
"0-depositor_address": "address:acc2",
135-
"1-esdt_funds": "u32:1|nested:str:CASHTOKEN-123456|u64:0|biguint:50",
136-
"2-egld_funds": "biguint:0",
137-
"3-valability": "u64:100",
138-
"4-expiration_round": "u64:16",
135+
"1-funds": "u32:1|nested:str:CASHTOKEN-123456|u64:0|biguint:50",
136+
"2-valability": "u64:100",
137+
"3-expiration_round": "u64:16",
139138
"5-fees": {
140139
"0-num_token_to_transfer": "u32:1",
141140
"1-value": {
@@ -147,11 +146,10 @@
147146
},
148147
"str:deposit|0x885532043a061e0c779e4064b85193f72cffd22c5bcc208c209128e60f21bf0d": {
149148
"0-depositor_address": "address:acc3",
150-
"1-esdt_funds": "u32:3|nested:str:CASHTOKEN-112233|u64:0|biguint:50|nested:str:CASHTOKEN-445566|u64:0|biguint:50|nested:str:CASHTOKEN-778899|u64:0|biguint:50",
151-
"2-egld_funds": "biguint:0",
152-
"3-valability": "u64:100",
153-
"4-expiration_round": "u64:16",
154-
"5-fees": {
149+
"1-funds": "u32:3|nested:str:CASHTOKEN-112233|u64:0|biguint:50|nested:str:CASHTOKEN-445566|u64:0|biguint:50|nested:str:CASHTOKEN-778899|u64:0|biguint:50",
150+
"2-valability": "u64:100",
151+
"3-expiration_round": "u64:16",
152+
"4-fees": {
155153
"0-num_token_to_transfer": "u32:3",
156154
"1-value": {
157155
"0-tokenIdentifier": "nested:str:EGLD",

test/digital-cash/scenarios/claim-esdt.scen.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,10 @@
131131
"storage": {
132132
"str:deposit|0xdb474a3a065d3f0c0a62ae680ef6435e48eb482899d2ae30ff7a3a4b0ef19c60": {
133133
"0-depositor_address": "address:acc1",
134-
"1-esdt_funds": "u32:0",
135-
"2-egld_funds": "biguint:1,000",
136-
"3-valability": "u64:60",
137-
"4-expiration_round": "u64:10",
138-
"5-fees": {
134+
"1-funds": "u32:1|nested:str:EGLD|u64:0|biguint:1,000",
135+
"2-valability": "u64:60",
136+
"3-expiration_round": "u64:10",
137+
"4-fees": {
139138
"0-num_token_to_transfer": "u32:1",
140139
"1-value": {
141140
"0-tokenIdentifier": "nested:str:EGLD",
@@ -147,10 +146,9 @@
147146
"str:deposit|0x885532043a061e0c779e4064b85193f72cffd22c5bcc208c209128e60f21bf0d": {
148147
"0-depositor_address": "address:acc3",
149148
"1-esdt_funds": "u32:3|nested:str:CASHTOKEN-112233|u64:0|biguint:50|nested:str:CASHTOKEN-445566|u64:0|biguint:50|nested:str:CASHTOKEN-778899|u64:0|biguint:50",
150-
"2-egld_funds": "biguint:0",
151-
"3-valability": "u64:100",
152-
"4-expiration_round": "u64:16",
153-
"5-fees": {
149+
"2-valability": "u64:100",
150+
"3-expiration_round": "u64:16",
151+
"4-fees": {
154152
"0-num_token_to_transfer": "u32:3",
155153
"1-value": {
156154
"0-tokenIdentifier": "nested:str:EGLD",

test/digital-cash/scenarios/claim-fees.scen.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,10 @@
6969
"storage": {
7070
"str:deposit|0x487bd4010b50c24a02018345fe5171edf4182e6294325382c75ef4c4409f01bd": {
7171
"0-depositor_address": "address:acc2",
72-
"1-esdt_funds": "u32:1|nested:str:CASHTOKEN-123456|u64:0|biguint:50",
73-
"2-egld_funds": "biguint:0",
74-
"3-valability": "u64:100",
75-
"4-expiration_round": "u64:16",
76-
"5-fees": {
72+
"1-funds": "u32:1|nested:str:CASHTOKEN-123456|u64:0|biguint:50",
73+
"2-valability": "u64:100",
74+
"3-expiration_round": "u64:16",
75+
"4-fees": {
7776
"0-num_token_to_transfer": "u32:1",
7877
"1-value": {
7978
"0-tokenIdentifier": "nested:str:EGLD",
@@ -84,11 +83,10 @@
8483
},
8584
"str:deposit|0x885532043a061e0c779e4064b85193f72cffd22c5bcc208c209128e60f21bf0d": {
8685
"0-depositor_address": "address:acc3",
87-
"1-esdt_funds": "u32:3|nested:str:CASHTOKEN-112233|u64:0|biguint:50|nested:str:CASHTOKEN-445566|u64:0|biguint:50|nested:str:CASHTOKEN-778899|u64:0|biguint:50",
88-
"2-egld_funds": "biguint:0",
89-
"3-valability": "u64:100",
90-
"4-expiration_round": "u64:16",
91-
"5-fees": {
86+
"1-funds": "u32:3|nested:str:CASHTOKEN-112233|u64:0|biguint:50|nested:str:CASHTOKEN-445566|u64:0|biguint:50|nested:str:CASHTOKEN-778899|u64:0|biguint:50",
87+
"2-valability": "u64:100",
88+
"3-expiration_round": "u64:16",
89+
"4-fees": {
9290
"0-num_token_to_transfer": "u32:3",
9391
"1-value": {
9492
"0-tokenIdentifier": "nested:str:EGLD",

test/digital-cash/scenarios/claim-multi-esdt.scen.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,10 @@
129129
"storage": {
130130
"str:deposit|0xdb474a3a065d3f0c0a62ae680ef6435e48eb482899d2ae30ff7a3a4b0ef19c60": {
131131
"0-depositor_address": "address:acc1",
132-
"1-esdt_funds": "u32:0",
133-
"2-egld_funds": "biguint:1,000",
134-
"3-valability": "u64:60",
135-
"4-expiration_round": "u64:10",
136-
"5-fees": {
132+
"1-funds": "u32:1|nested:str:EGLD|u64:0|biguint:1,000",
133+
"2-valability": "u64:60",
134+
"3-expiration_round": "u64:10",
135+
"4-fees": {
137136
"0-num_token_to_transfer": "u32:1",
138137
"1-value": {
139138
"0-tokenIdentifier": "nested:str:EGLD",
@@ -144,11 +143,10 @@
144143
},
145144
"str:deposit|0x487bd4010b50c24a02018345fe5171edf4182e6294325382c75ef4c4409f01bd": {
146145
"0-depositor_address": "address:acc2",
147-
"1-esdt_funds": "u32:1|nested:str:CASHTOKEN-123456|u64:0|biguint:50",
148-
"2-egld_funds": "biguint:0",
149-
"3-valability": "u64:100",
150-
"4-expiration_round": "u64:16",
151-
"5-fees": {
146+
"1-funds": "u32:1|nested:str:CASHTOKEN-123456|u64:0|biguint:50",
147+
"2-valability": "u64:100",
148+
"3-expiration_round": "u64:16",
149+
"4-fees": {
152150
"0-num_token_to_transfer": "u32:1",
153151
"1-value": {
154152
"0-tokenIdentifier": "nested:str:EGLD",

test/digital-cash/scenarios/forward.scen.json

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,10 @@
162162
"storage": {
163163
"str:deposit|0xa40e72cdac3580e7203a4c2565c932f7691c35e624bcfd82718d7f559c88f440": {
164164
"0-depositor_address": "address:acc2",
165-
"1-esdt_funds": "u32:0",
166-
"2-egld_funds": "biguint:1,000",
167-
"3-valability": "u64:60",
168-
"4-expiration_round": "u64:10",
169-
"5-fees": {
165+
"1-funds": "u32:1|nested:str:EGLD|u64:0|biguint:1,000",
166+
"2-valability": "u64:60",
167+
"3-expiration_round": "u64:10",
168+
"4-fees": {
170169
"0-num_token_to_transfer": "u32:1",
171170
"1-value": {
172171
"0-tokenIdentifier": "nested:str:EGLD",
@@ -177,11 +176,10 @@
177176
},
178177
"str:deposit|0x487bd4010b50c24a02018345fe5171edf4182e6294325382c75ef4c4409f01bd": {
179178
"0-depositor_address": "address:acc2",
180-
"1-esdt_funds": "u32:1|nested:str:CASHTOKEN-123456|u64:0|biguint:50",
181-
"2-egld_funds": "biguint:0",
182-
"3-valability": "u64:100",
183-
"4-expiration_round": "u64:16",
184-
"5-fees": {
179+
"1-funds": "u32:1|nested:str:CASHTOKEN-123456|u64:0|biguint:50",
180+
"2-valability": "u64:100",
181+
"3-expiration_round": "u64:16",
182+
"4-fees": {
185183
"0-num_token_to_transfer": "u32:1",
186184
"1-value": {
187185
"0-tokenIdentifier": "nested:str:EGLD",
@@ -192,11 +190,10 @@
192190
},
193191
"str:deposit|0x8dc17613990e9b7476401a36d112d1a4d31190dec21e7e9a3c933872a27613ee": {
194192
"0-depositor_address": "address:acc2",
195-
"1-esdt_funds": "u32:3|nested:str:CASHTOKEN-112233|u64:0|biguint:50|nested:str:CASHTOKEN-445566|u64:0|biguint:50|nested:str:CASHTOKEN-778899|u64:0|biguint:50",
196-
"2-egld_funds": "biguint:0",
197-
"3-valability": "u64:100",
198-
"4-expiration_round": "u64:16",
199-
"5-fees": {
193+
"1-funds": "u32:3|nested:str:CASHTOKEN-112233|u64:0|biguint:50|nested:str:CASHTOKEN-445566|u64:0|biguint:50|nested:str:CASHTOKEN-778899|u64:0|biguint:50",
194+
"2-valability": "u64:100",
195+
"3-expiration_round": "u64:16",
196+
"4-fees": {
200197
"0-num_token_to_transfer": "u32:3",
201198
"1-value": {
202199
"0-tokenIdentifier": "nested:str:EGLD",

0 commit comments

Comments
 (0)