Skip to content

Commit

Permalink
Merge pull request #80 from multiversx/upgrade-51
Browse files Browse the repository at this point in the history
upgrade to framework version v0.51.1
  • Loading branch information
andrei-marinica authored Jul 6, 2024
2 parents b48f241 + 9e40bdc commit 9c7c9d7
Show file tree
Hide file tree
Showing 28 changed files with 166 additions and 133 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
contracts:
name: Contracts
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3.0.0
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3.1.0
with:
rust-toolchain: stable
mx-scenario-go-version: v2.0.0
Expand Down
4 changes: 2 additions & 2 deletions auction-mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
path = "../node-storage"

[dependencies.multiversx-sc]
version = "0.50.0"
version = "0.51.1"
features = ["alloc"]

[dev-dependencies.multiversx-sc-scenario]
version = "0.50.0"
version = "0.51.1"
4 changes: 2 additions & 2 deletions auction-mock/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ publish = false
[dependencies.auction-mock]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.50.0"
[dependencies.multiversx-sc-meta-lib]
version = "0.51.1"
default-features = false
2 changes: 1 addition & 1 deletion auction-mock/meta/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fn main() {
multiversx_sc_meta::cli_main::<auction_mock::AbiProvider>();
multiversx_sc_meta_lib::cli_main::<auction_mock::AbiProvider>();
}
10 changes: 5 additions & 5 deletions auction-mock/output/auction-mock.abi.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"buildInfo": {
"rustc": {
"version": "1.78.0",
"commitHash": "9b00956e56009bab2aa15d7bff10916599e3d6d6",
"commitDate": "2024-04-29",
"version": "1.79.0",
"commitHash": "129f3b9964af4d4a709d1383930ade12dfe7c081",
"commitDate": "2024-06-10",
"channel": "Stable",
"short": "rustc 1.78.0 (9b00956e5 2024-04-29)"
"short": "rustc 1.79.0 (129f3b996 2024-06-10)"
},
"contractCrate": {
"name": "auction-mock",
"version": "0.3.4"
},
"framework": {
"name": "multiversx-sc",
"version": "0.50.0"
"version": "0.51.1"
}
},
"name": "AuctionMock",
Expand Down
22 changes: 13 additions & 9 deletions auction-mock/output/auction-mock.mxsc.json

Large diffs are not rendered by default.

Binary file modified auction-mock/output/auction-mock.wasm
Binary file not shown.
48 changes: 28 additions & 20 deletions auction-mock/wasm/Cargo.lock

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

2 changes: 1 addition & 1 deletion auction-mock/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.50.0"
version = "0.51.1"

[workspace]
members = ["."]
22 changes: 14 additions & 8 deletions interact/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
[[bin]]
name = "basic-interact"
path = "src/deleg_interact.rs"

[package]
name = "delegation-interact"
version = "0.0.0"
edition = "2021"
publish = false

[[bin]]
name = "basic-interact"
path = "src/deleg_interact.rs"

[dependencies]
clap = { version = "4.4.7", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
toml = "0.8.6"

[dependencies.clap]
version = "4.4.7"
features = ["derive"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.multiversx-sc]
version = "0.50.0"
version = "0.51.1"

[dependencies.multiversx-sc-snippets]
version = "0.50.0"
version = "0.51.1"

[dependencies.node-storage]
path = "../node-storage"
Expand Down
6 changes: 3 additions & 3 deletions latest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ path = "../node-storage"
path = "../user-fund-storage"

[dependencies.multiversx-sc-modules]
version = "0.50.0"
version = "0.51.1"

[dependencies.multiversx-sc]
version = "0.50.0"
version = "0.51.1"

[dev-dependencies.multiversx-sc-scenario]
version = "0.50.0"
version = "0.51.1"

[dev-dependencies.auction-mock]
path = "../auction-mock"
4 changes: 2 additions & 2 deletions latest/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ publish = false
[dependencies.delegation_latest]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.50.0"
[dependencies.multiversx-sc-meta-lib]
version = "0.51.1"
default-features = false
2 changes: 1 addition & 1 deletion latest/meta/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fn main() {
multiversx_sc_meta::cli_main::<delegation_latest::AbiProvider>();
multiversx_sc_meta_lib::cli_main::<delegation_latest::AbiProvider>();
}
10 changes: 5 additions & 5 deletions latest/output/delegation_latest_full.abi.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"buildInfo": {
"rustc": {
"version": "1.78.0",
"commitHash": "9b00956e56009bab2aa15d7bff10916599e3d6d6",
"commitDate": "2024-04-29",
"version": "1.79.0",
"commitHash": "129f3b9964af4d4a709d1383930ade12dfe7c081",
"commitDate": "2024-06-10",
"channel": "Stable",
"short": "rustc 1.78.0 (9b00956e5 2024-04-29)"
"short": "rustc 1.79.0 (129f3b996 2024-06-10)"
},
"contractCrate": {
"name": "delegation_latest",
"version": "0.5.8"
},
"framework": {
"name": "multiversx-sc",
"version": "0.50.0"
"version": "0.51.1"
}
},
"name": "DelegationFull",
Expand Down
22 changes: 13 additions & 9 deletions latest/output/delegation_latest_full.mxsc.json

Large diffs are not rendered by default.

Binary file modified latest/output/delegation_latest_full.wasm
Binary file not shown.
10 changes: 5 additions & 5 deletions latest/output/delegation_latest_update.abi.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"buildInfo": {
"rustc": {
"version": "1.78.0",
"commitHash": "9b00956e56009bab2aa15d7bff10916599e3d6d6",
"commitDate": "2024-04-29",
"version": "1.79.0",
"commitHash": "129f3b9964af4d4a709d1383930ade12dfe7c081",
"commitDate": "2024-06-10",
"channel": "Stable",
"short": "rustc 1.78.0 (9b00956e5 2024-04-29)"
"short": "rustc 1.79.0 (129f3b996 2024-06-10)"
},
"contractCrate": {
"name": "delegation_latest",
"version": "0.5.8"
},
"framework": {
"name": "multiversx-sc",
"version": "0.50.0"
"version": "0.51.1"
}
},
"name": "DelegationFull",
Expand Down
22 changes: 13 additions & 9 deletions latest/output/delegation_latest_update.mxsc.json

Large diffs are not rendered by default.

Binary file modified latest/output/delegation_latest_update.wasm
Binary file not shown.
1 change: 0 additions & 1 deletion latest/tests/latest_scenario_rs_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use multiversx_sc_scenario::*;

fn world() -> ScenarioWorld {
let mut blockchain = ScenarioWorld::new();
blockchain.set_current_dir_from_workspace("latest");

blockchain.register_contract(
"file:../auction-mock/output/auction-mock.wasm",
Expand Down
Loading

0 comments on commit 9c7c9d7

Please sign in to comment.