Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions integrationTests/json/scenariosFeatures_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package vmjsonintegrationtest

import (
"path/filepath"
"testing"
)

Expand All @@ -16,18 +15,6 @@ func TestRustAllocFeatures(t *testing.T) {
CheckNoError()
}

func TestRustBarnardFeatures(t *testing.T) {
// TODO: will get merged into basic-features after barnard mainnet release
if testing.Short() {
t.Skip("not a short test")
}

ScenariosTest(t).
Folder("features/barnard-features/scenarios").
Run().
CheckNoError()
}

func TestRustBasicFeaturesLatest(t *testing.T) {
if testing.Short() {
t.Skip("not a short test")
Expand All @@ -41,23 +28,6 @@ func TestRustBasicFeaturesLatest(t *testing.T) {
CheckNoError()
}

func TestRustBasicFeaturesBarnard(t *testing.T) {
if testing.Short() {
t.Skip("not a short test")
}

ScenariosTest(t).
Folder("features/basic-features/scenarios").
Exclude("features/basic-features/scenarios/storage_mapper_fungible_token.scen.json").
Exclude("features/basic-features/scenarios/get_shard_of_address.scen.json").
ReplacePath(
"../output/basic-features.mxsc.json",
filepath.Join(getTestRoot(), "features/basic-features/output/basic-features-barnard.mxsc.json"),
).
Run().
CheckNoError()
}

func TestRustBasicFeaturesNoSmallIntApi(t *testing.T) {
if testing.Short() {
t.Skip("not a short test")
Expand Down Expand Up @@ -125,26 +95,6 @@ func TestRustPayableFeatures(t *testing.T) {
CheckNoError()
}

func TestRustPayableFeaturesBarnard(t *testing.T) {
if testing.Short() {
t.Skip("not a short test")
}

// we run the exact same tests, but on a different compiled contract,
// this contract uses the new "managedGetAllTransfersCallValue" VM hook,
// which is only available in Barnard
// this will become the only test

ScenariosTest(t).
Folder("features/payable-features/scenarios").
ReplacePath(
"../output/payable-features.mxsc.json",
filepath.Join(getTestRoot(), "features/payable-features/output/payable-features-barnard.mxsc.json"),
).
Run().
CheckNoError()
}

func TestRustComposability(t *testing.T) {
ScenariosTest(t).
Folder("features/composability/scenarios").
Expand Down
12 changes: 6 additions & 6 deletions test/adder/output/adder.mxsc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"buildInfo": {
"rustc": {
"version": "1.87.0",
"commitHash": "17067e9ac6d7ecb70e50f92c1944e545188d2359",
"commitDate": "2025-05-09",
"version": "1.89.0",
"commitHash": "29483883eed69d5fb4db01964cdf2af4d86e9cb2",
"commitDate": "2025-08-04",
"channel": "Stable",
"short": "rustc 1.87.0 (17067e9ac 2025-05-09)"
"short": "rustc 1.89.0 (29483883e 2025-08-04)"
},
"contractCrate": {
"name": "adder",
"version": "0.0.0"
},
"framework": {
"name": "multiversx-sc",
"version": "0.59.0"
"version": "0.60.0"
}
},
"abi": {
Expand Down Expand Up @@ -87,7 +87,7 @@
],
"isMemGrow": false,
"eiCheck": {
"eiVersion": "1.4",
"eiVersion": "1.5",
"ok": true
},
"codeReport": {
Expand Down
18 changes: 10 additions & 8 deletions test/crowdfunding-esdt/output/crowdfunding-esdt.mxsc.json

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions test/digital-cash/output/digital-cash.mxsc.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions test/erc20-rust/output/erc20.mxsc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"buildInfo": {
"rustc": {
"version": "1.87.0",
"commitHash": "17067e9ac6d7ecb70e50f92c1944e545188d2359",
"commitDate": "2025-05-09",
"version": "1.89.0",
"commitHash": "29483883eed69d5fb4db01964cdf2af4d86e9cb2",
"commitDate": "2025-08-04",
"channel": "Stable",
"short": "rustc 1.87.0 (17067e9ac 2025-05-09)"
"short": "rustc 1.89.0 (29483883e 2025-08-04)"
},
"contractCrate": {
"name": "erc20",
"version": "0.0.0"
},
"framework": {
"name": "multiversx-sc",
"version": "0.59.0"
"version": "0.60.0"
}
},
"abi": {
Expand Down Expand Up @@ -218,7 +218,7 @@
"hasCallback": false,
"types": {}
},
"code": "0061736d0100000001290860027f7f017f60027f7f0060000060017f017f60017f006000017f60037f7f7f017f60037f7f7f0002f2031603656e760b7369676e616c4572726f72000103656e760d6d616e6167656443616c6c6572000403656e76126d427566666572417070656e644279746573000603656e76126d616e616765645369676e616c4572726f72000403656e76126d427566666572476574417267756d656e74000003656e76106d4275666665724765744c656e677468000303656e7619626967496e74476574556e7369676e6564417267756d656e74000103656e760f6765744e756d417267756d656e7473000503656e7614626967496e7446696e697368556e7369676e6564000403656e760f6d4275666665725365744279746573000603656e7609626967496e74416464000703656e7609626967496e74537562000703656e760a626967496e745369676e000303656e76196d42756666657246726f6d426967496e74556e7369676e6564000003656e760d6d427566666572417070656e64000003656e76136d42756666657253746f7261676553746f7265000003656e76126d42756666657253746f726167654c6f6164000003656e76176d427566666572546f426967496e74556e7369676e6564000003656e760a6d4275666665724e6577000503656e7609626967496e74436d70000003656e760f6d616e6167656457726974654c6f67000103656e760e636865636b4e6f5061796d656e740002032120040505000603040403050101010301010301000503000007020202020202020205030100030616037f01418080080b7f0041ec81080b7f0041f081080b0781010b066d656d6f7279020004696e6974002e0b746f74616c537570706c79002f0962616c616e63654f66003009616c6c6f77616e63650031087472616e7366657200320c7472616e7366657246726f6d003307617070726f766500340863616c6c4261636b00350a5f5f646174615f656e6403010b5f5f686561705f6261736503020c01020af106200900200041121000000b0c01017f10182200100120000b1901017f41e8810841e8810828020041016b220036020020000b1101017f101822022000200110091a20020b430020001018220010041a200010054120470440418080084117101922002001200210021a200041978008410310021a200041e38008411010021a20001003000b20000b0c00200010182200100620000b1400100720004604400f0b419a800841191000000b08002000101e10080b160020001018220010101a20001018220010111a20000b08004101410010190b4601017f230041106b220224002002200141187420014180fe03714108747220014108764180fe03712001411876727236020c20002002410c6a410410021a200241106a24000b0a00200020002001100a0b1d00200020002001100b2000100c410048044041b3800841301000000b0b0f01017f101822012000100d1a20010b090020002001100e1a0b0b00200020011023100f1a0b0900101f1a200010230b1601017f101f1a101222022001100e1a2000200210200b1201017f101f2202200020011019102020020b0a0041f38008410b10190b1401017f418581084107101922012000102420010b1a01017f419481084109101922022000102420022001102420020b0b0020002001101341004c0b5901027f20022000102a2204101e2203102c45044041d381081016000b2003200210222004200310252001102a2203101e220420021021200320041025418c81084108102822032000102720032001102720032002102610140b2a01037f10154101101c4100101b21011017102920011025102a2200101e2202200110212000200210250b0c0010154100101c1029101d0b160010154101101c410041ab81084107101a102a101d0b200010154102101c410041a681084105101a4101419d81084107101a102b101d0b2401027f10154102101c410041a481084102101a21004101101b2101101720002001102d0b5501057f10154103101c410041bb81084106101a2100410141b281084109101a21034102101b220120001017102b2204101e2202102c45044041c181081016000b200220011022200420021025200020032001102d0b4401047f10154102101c4100419d81084107101a21004101101b2101101722032000102b2001102541fe80084107102822022003102720022000102720022001102610140b02000b0bf9010200418080080be501617267756d656e74206465636f6465206572726f722028293a2077726f6e67206e756d626572206f6620617267756d656e747363616e6e6f74207375627472616374206265636175736520726573756c7420776f756c64206265206e65676174697665626164206172726179206c656e677468746f74616c537570706c79617070726f766562616c616e63657472616e73666572616c6c6f77616e63657370656e646572746f6f776e657261646472657373726563697069656e7473656e646572616c6c6f77616e6365206578636565646564696e73756666696369656e742066756e64730041e881080b0438ffffff",
"code": "0061736d0100000001290860027f7f017f60027f7f0060000060017f017f60017f006000017f60037f7f7f017f60037f7f7f0002f2031603656e760b7369676e616c4572726f72000103656e760d6d616e6167656443616c6c6572000403656e76126d427566666572417070656e644279746573000603656e76126d616e616765645369676e616c4572726f72000403656e7619626967496e74476574556e7369676e6564417267756d656e74000103656e76126d427566666572476574417267756d656e74000003656e76106d4275666665724765744c656e677468000303656e760f6765744e756d417267756d656e7473000503656e7614626967496e7446696e697368556e7369676e6564000403656e760f6d4275666665725365744279746573000603656e7609626967496e74416464000703656e7609626967496e74537562000703656e760a626967496e745369676e000303656e76196d42756666657246726f6d426967496e74556e7369676e6564000003656e760d6d427566666572417070656e64000003656e76136d42756666657253746f7261676553746f7265000003656e76126d42756666657253746f726167654c6f6164000003656e76176d427566666572546f426967496e74556e7369676e6564000003656e760a6d4275666665724e6577000503656e7609626967496e74436d70000003656e760f6d616e6167656457726974654c6f67000103656e760e636865636b4e6f5061796d656e740002032120040505000306040403050101010301010301000503000007020202020202020205030100030616037f01418080080b7f0041ec81080b7f0041f081080b0781010b066d656d6f7279020004696e6974002e0b746f74616c537570706c79002f0962616c616e63654f66003009616c6c6f77616e63650031087472616e7366657200320c7472616e7366657246726f6d003307617070726f766500340863616c6c4261636b00350a5f5f646174615f656e6403010b5f5f686561705f6261736503020c01020af106200900200041121000000b0c01017f10182200100120000b1901017f41e8810841e8810828020041016b220036020020000b1101017f101822022000200110091a20020b0c00200010182200100420000b430020001018220010051a200010064120470440418080084117101922002001200210021a200041978008410310021a200041e38008411010021a20001003000b20000b1400100720004604400f0b419a800841191000000b08002000101e10080b160020001018220010101a20001018220010111a20000b08004101410010190b4601017f230041106b220224002002200141187420014180fe03714108747220014108764180fe03712001411876727236020c20002002410c6a410410021a200241106a24000b0a00200020002001100a0b1d00200020002001100b2000100c410048044041b3800841301000000b0b0f01017f101822012000100d1a20010b090020002001100e1a0b0b00200020011023100f1a0b0900101f1a200010230b1601017f101f1a101222022001100e1a2000200210200b1201017f101f2202200020011019102020020b0a0041f38008410b10190b1401017f418581084107101922012000102420010b1a01017f419481084109101922022000102420022001102420020b0b0020002001101341004c0b5901027f20022000102a2204101e2203102c45044041d381081016000b2003200210222004200310252001102a2203101e220420021021200320041025418c81084108102822032000102720032001102720032002102610140b2a01037f10154101101c4100101a21011017102920011025102a2200101e2202200110212000200210250b0c0010154100101c1029101d0b160010154101101c410041ab81084107101b102a101d0b200010154102101c410041a681084105101b4101419d81084107101b102b101d0b2401027f10154102101c410041a481084102101b21004101101a2101101720002001102d0b5501057f10154103101c410041bb81084106101b2100410141b281084109101b21034102101a220120001017102b2204101e2202102c45044041c181081016000b200220011022200420021025200020032001102d0b4401047f10154102101c4100419d81084107101b21004101101a2101101722032000102b2001102541fe80084107102822022003102720022000102720022001102610140b02000b0bf9010200418080080be501617267756d656e74206465636f6465206572726f722028293a2077726f6e67206e756d626572206f6620617267756d656e747363616e6e6f74207375627472616374206265636175736520726573756c7420776f756c64206265206e65676174697665626164206172726179206c656e677468746f74616c537570706c79617070726f766562616c616e63657472616e73666572616c6c6f77616e63657370656e646572746f6f776e657261646472657373726563697069656e7473656e646572616c6c6f77616e6365206578636565646564696e73756666696369656e742066756e64730041e881080b0438ffffff",
"report": {
"imports": [
"bigIntAdd",
Expand Down Expand Up @@ -246,7 +246,7 @@
],
"isMemGrow": false,
"eiCheck": {
"eiVersion": "1.4",
"eiVersion": "1.5",
"ok": true
},
"codeReport": {
Expand Down
12 changes: 6 additions & 6 deletions test/factorial/output/factorial.mxsc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"buildInfo": {
"rustc": {
"version": "1.87.0",
"commitHash": "17067e9ac6d7ecb70e50f92c1944e545188d2359",
"commitDate": "2025-05-09",
"version": "1.89.0",
"commitHash": "29483883eed69d5fb4db01964cdf2af4d86e9cb2",
"commitDate": "2025-08-04",
"channel": "Stable",
"short": "rustc 1.87.0 (17067e9ac 2025-05-09)"
"short": "rustc 1.89.0 (29483883e 2025-08-04)"
},
"contractCrate": {
"name": "factorial",
"version": "0.0.0"
},
"framework": {
"name": "multiversx-sc",
"version": "0.59.0"
"version": "0.60.0"
}
},
"abi": {
Expand Down Expand Up @@ -63,7 +63,7 @@
],
"isMemGrow": false,
"eiCheck": {
"eiVersion": "1.4",
"eiVersion": "1.5",
"ok": true
},
"codeReport": {
Expand Down
16 changes: 8 additions & 8 deletions test/features/alloc-features/output/alloc-features.mxsc.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions test/features/alloc-features/output/alloc-mem-fail.mxsc.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions test/features/alloc-features/output/alloc-mem-leaking.mxsc.json

Large diffs are not rendered by default.

Loading
Loading