Skip to content

Commit

Permalink
sc 0.40.0, vm 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Apr 20, 2023
1 parent a8449cd commit 982bd9c
Show file tree
Hide file tree
Showing 237 changed files with 348 additions and 344 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ They are:
- `multiversx-chain-scenario-format`, in short `scenario-format`, scenario JSON serializer/deserializer, 1 crate.
- `multiversx-sdk`, in short `sdk`, allows communication with the chain(s), 1 crate.

## [sc 0.40.0, vm 0.2.0] - 2023-04-20
- Call value `egld_value` and `all_esdt_transfers` methods return `ManagedRef` instead of owned objects, because they are cached (to avoid accidental corruption of the underlying cache).

## [sc 0.39.8, vm 0.1.8] - 2023-03-29
- `multiversx-sc-meta` `test-gen` command: generates Rust integration tests based on scenarios present in the `scenarios` folder.
- `UnorderedSetMapper` `swap_indexes` method.
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/benchmark-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ publish = false
path = "src/lib.rs"

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/scenario"
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/linked-list-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ path = "../benchmark-common"


[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/scenario"
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/meta"
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/wasm-adapter"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/map-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ path = "../benchmark-common"


[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/benchmarks/mappers/map-repeat/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/benchmarks/mappers/map-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/wasm-adapter"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/queue-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ path = "../benchmark-common"


[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/benchmarks/mappers/queue-repeat/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/benchmarks/mappers/queue-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/wasm-adapter"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/set-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ path = "../benchmark-common"


[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/benchmarks/mappers/set-repeat/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/benchmarks/mappers/set-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/wasm-adapter"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/single-value-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ path = "../benchmark-common"


[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/scenario"
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/meta"
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/wasm-adapter"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/vec-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ path = "../benchmark-common"


[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/benchmarks/mappers/vec-repeat/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/benchmarks/mappers/vec-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../../framework/wasm-adapter"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/send-tx-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ publish = false
path = "src/send_tx_repeat.rs"

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/base"
features = ["alloc"]

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/benchmarks/send-tx-repeat/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/benchmarks/send-tx-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/wasm-adapter"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/str-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ publish = false
path = "src/str_repeat.rs"

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/base"
features = ["alloc"]

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/benchmarks/str-repeat/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/benchmarks/str-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/wasm-adapter"

[workspace]
Expand Down
8 changes: 4 additions & 4 deletions contracts/core/price-aggregator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "multiversx-price-aggregator-sc"
version = "0.39.8"
version = "0.40.0"
authors = [
"Claudiu-Marcel Bruda <[email protected]>",
"MultiversX <[email protected]>",
Expand All @@ -19,15 +19,15 @@ edition = "2021"
path = "src/lib.rs"

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/base"

[dependencies.multiversx-sc-modules]
version = "0.39.8"
version = "0.40.0"
path = "../../../contracts/modules"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/scenario"

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions contracts/core/price-aggregator/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ publish = false
path = ".."

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/core/price-aggregator/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/wasm-adapter"

[workspace]
Expand Down
8 changes: 4 additions & 4 deletions contracts/core/wegld-swap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "multiversx-wegld-swap-sc"
version = "0.39.8"
version = "0.40.0"

authors = [
"Dorin Iancu <[email protected]>",
Expand All @@ -20,13 +20,13 @@ edition = "2021"
path = "src/wegld.rs"

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/base"

[dependencies.multiversx-sc-modules]
version = "0.39.8"
version = "0.40.0"
path = "../../../contracts/modules"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/scenario"
4 changes: 2 additions & 2 deletions contracts/core/wegld-swap/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ publish = false
path = ".."

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/base"

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/core/wegld-swap/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/wasm-adapter"
4 changes: 2 additions & 2 deletions contracts/examples/adder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ publish = false
path = "src/adder.rs"

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/examples/adder/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/meta"
2 changes: 1 addition & 1 deletion contracts/examples/adder/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/wasm-adapter"

[workspace]
Expand Down
6 changes: 3 additions & 3 deletions contracts/examples/bonding-curve-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ publish = false
path = "src/bonding_curve_contract.rs"

[dependencies.multiversx-sc]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/base"

[dependencies.multiversx-sc-modules]
version = "0.39.8"
version = "0.40.0"
path = "../../../contracts/modules"

[dev-dependencies.multiversx-sc-scenario]
version = "0.39.8"
version = "0.40.0"
path = "../../../framework/scenario"

2 changes: 1 addition & 1 deletion contracts/examples/bonding-curve-contract/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.39.8"
version = "0.40.0"
path = "../../../../framework/meta"
Loading

0 comments on commit 982bd9c

Please sign in to comment.