Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: sc 0.43.0, codec 0.18.1, vm 0.5.0 #1196

Merged
merged 3 commits into from
Aug 16, 2023
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ 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.43.0, codec 0.18.1, vm 0.5.0] - 2023-08-16
- Fixed a rustc compatibility issue when building contracts. The meta crate looks at the rustc version when generating the wasm crate code:
- pre-rustc-1.71;
- between rustc-1.71 and rustc-1.73;
- latest, after rustc-1.73. Also upgraded some dependencies, notably proc-macro2 "1.0.66" and ed25519-dalek "2.0.0".
- Initial version of the contract template tool in multiversx-sc-meta:
- Ability to download and adapt template contracts, to kickstart contract development;
- A template mechanism that is customizable on the framework side;
- Available templates: adder, empty, crypto-zombies.
- The Rust debugger is now thread safe.
- Removed the `big-float` feature of multiversx-sc, because the functionality is already available on mainnet.
- Arguments `--target-dir-wasm`, `--target-dir-meta`, and `--target-dir-all` in the `multiversx-sc-meta` CLI.
- Fixed an issue with contract calls and ESDT transfers in the `StaticApi` environment.

## [sc 0.42.0, codec 0.18.0, vm 0.4.0, scenario-format 0.20.0, sdk 0.2.0] - 2023-07-15
- Multi-endpoints in multi-contracts:
- It is now possible to have multiple versions of the same endpoint in different multi-contract variants.
Expand Down
44 changes: 22 additions & 22 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions contracts/benchmarks/large-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ publish = false
path = "src/large_storage.rs"

[dependencies.multiversx-sc]
version = "0.42.0"
version = "0.43.0"
path = "../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.42.0"
version = "0.43.0"
path = "../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/benchmarks/large-storage/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.42.0"
version = "0.43.0"
path = "../../../../framework/meta"
26 changes: 13 additions & 13 deletions contracts/benchmarks/large-storage/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 contracts/benchmarks/large-storage/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.42.0"
version = "0.43.0"
path = "../../../../framework/wasm-adapter"

[workspace]
Expand Down
1 change: 1 addition & 0 deletions contracts/benchmarks/large-storage/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// Total number of exported functions: 4

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
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.42.0"
version = "0.43.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.42.0"
version = "0.43.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.42.0"
version = "0.43.0"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.42.0"
version = "0.43.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.42.0"
version = "0.43.0"
path = "../../../../../framework/meta"
Loading
Loading