Skip to content

Commit 8b88f82

Browse files
Merge branch 'master' into sc-meta-snippets-fixes
2 parents 1874e76 + 3752387 commit 8b88f82

File tree

162 files changed

+676
-347
lines changed

Some content is hidden

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

162 files changed

+676
-347
lines changed

.github/workflows/actions-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Contracts (nightly)
1717
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3.2.0
1818
with:
19-
rust-toolchain: nightly-2023-12-11
19+
rust-toolchain: nightly-2024-05-22
2020
path-to-sc-meta: framework/meta
2121
enable-contracts-size-report: false
2222
mx-scenario-go-version: v2.1.0-alpha
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
proxy_compare:
11+
name: Proxy compare - newly generated vs present in file tree
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Install rust
18+
uses: actions-rust-lang/setup-rust-toolchain@v1
19+
with:
20+
default: true
21+
toolchain: stable
22+
target: wasm32-unknown-unknown
23+
24+
- name: Install prerequisites
25+
run: |
26+
cargo install --path framework/meta
27+
28+
- name: Run proxy compare
29+
run: |
30+
cd contracts
31+
sc-meta all proxy --compare

contracts/benchmarks/large-storage/tests/large_storage_scenario_rs_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use multiversx_sc_scenario::*;
22

33
fn world() -> ScenarioWorld {
44
let mut blockchain = ScenarioWorld::new();
5-
blockchain.set_current_dir_from_workspace("contracts/benchmarks/large-storage");
65
blockchain.register_contract(
76
"mxsc:output/large-storage.mxsc.json",
87
large_storage::ContractBuilder,

contracts/benchmarks/mappers/linked-list-repeat/tests/linked_list_repeat_blackbox_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const WASM_PATH_EXPR: &str = "mxsc:output/linked-list-repeat.mxsc.json";
88

99
fn world() -> ScenarioWorld {
1010
let mut blockchain = ScenarioWorld::new();
11-
blockchain.set_current_dir_from_workspace("contracts/benchmarks/mappers/linked-list-repeat");
1211

1312
blockchain.register_contract(WASM_PATH_EXPR, linked_list_repeat::ContractBuilder);
1413
blockchain

contracts/benchmarks/mappers/linked-list-repeat/tests/scenario_rs_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use multiversx_sc_scenario::*;
22

33
fn world() -> ScenarioWorld {
44
let mut blockchain = ScenarioWorld::new();
5-
blockchain.set_current_dir_from_workspace("contracts/benchmarks/mappers/linked-list-repeat");
65

76
blockchain.register_contract(
87
"mxsc:output/linked-list-repeat.mxsc.json",

contracts/benchmarks/mappers/map-repeat/tests/scenario_rs_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use multiversx_sc_scenario::*;
22

33
fn world() -> ScenarioWorld {
44
let mut blockchain = ScenarioWorld::new();
5-
blockchain.set_current_dir_from_workspace("contracts/benchmarks/mappers/map-repeat");
65

76
blockchain.register_contract(
87
"mxsc:output/map-repeat.mxsc.json",

contracts/benchmarks/mappers/queue-repeat/tests/scenario_rs_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use multiversx_sc_scenario::*;
22

33
fn world() -> ScenarioWorld {
44
let mut blockchain = ScenarioWorld::new();
5-
blockchain.set_current_dir_from_workspace("contracts/benchmarks/mappers/queue-repeat");
65

76
blockchain.register_contract(
87
"mxsc:output/queue-repeat.mxsc.json",

contracts/benchmarks/mappers/set-repeat/tests/scenario_rs_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use multiversx_sc_scenario::*;
22

33
fn world() -> ScenarioWorld {
44
let mut blockchain = ScenarioWorld::new();
5-
blockchain.set_current_dir_from_workspace("contracts/benchmarks/mappers/set-repeat");
65

76
blockchain.register_contract(
87
"mxsc:output/set-repeat.mxsc.json",

contracts/benchmarks/mappers/single-value-repeat/tests/scenario_rs_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use multiversx_sc_scenario::*;
22

33
fn world() -> ScenarioWorld {
44
let mut blockchain = ScenarioWorld::new();
5-
blockchain.set_current_dir_from_workspace("contracts/benchmarks/mappers/single-value-repeat");
65

76
blockchain.register_contract(
87
"mxsc:output/single-value-repeat.mxsc.json",

contracts/benchmarks/mappers/vec-repeat/tests/scenario_rs_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use multiversx_sc_scenario::*;
22

33
fn world() -> ScenarioWorld {
44
let mut blockchain = ScenarioWorld::new();
5-
blockchain.set_current_dir_from_workspace("contracts/benchmarks/mappers/vec-repeat");
65

76
blockchain.register_contract(
87
"mxsc:output/vec-repeat.mxsc.json",

0 commit comments

Comments
 (0)