Skip to content

Commit

Permalink
elrond-wasm 0.30.0, elrond-codec 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Mar 17, 2022
1 parent 24dd873 commit 71e8f06
Show file tree
Hide file tree
Showing 205 changed files with 365 additions and 356 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ There are several crates in this repo, this changelog will keep track of all of

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [elrond-wasm 0.30.0, elrond-codec 0.10.0] - 2022-03-17
- Feature flags in `elrond-wasm`:
- `alloc` allows contracts to use the heap allocator. It is not a hard restriction, there is still access to the implementations of the heap-allocated types, but they are not imported. Some methods are only available with this flag.
- `ei-1-1` allows contracts to use VM endpoints that are not yet available on the mainnet.
- Fixes with async calls, smart contract deploy & upgrade.
- Refactoring regarding small number types in the API.
- Rust testing framework: Allow checking NFT balance without also checking attributes.
- View for `MapMapper`.

## [elrond-wasm 0.29.3] - 2022-03-03
- `ManagedVec` backwards compatible implementation for `set`.
- Implemented `ManagedVecItem` for `Option<T>`.
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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-debug"
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
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.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-debug"
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/map-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
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.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-debug"
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/queue-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
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.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-debug"
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/set-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-debug"
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
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.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-debug"
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/vec-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm"
features = ["alloc"]

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm-debug"
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.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
4 changes: 2 additions & 2 deletions contracts/benchmarks/send-tx-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm"
features = ["alloc"]

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm-debug"
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.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
4 changes: 2 additions & 2 deletions contracts/benchmarks/str-repeat/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

Expand Down
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.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm-debug"
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.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
4 changes: 2 additions & 2 deletions contracts/examples/adder/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

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,16 +9,16 @@ publish = false
path = "src/bonding_curve_contract.rs"

[dependencies.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm"
features = ["alloc"]

[dependencies.elrond-wasm-modules]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm-modules"
features = ["alloc"]

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm-debug"

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.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
4 changes: 2 additions & 2 deletions contracts/examples/bonding-curve-contract/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ panic = "abort"
path = ".."

[dependencies.elrond-wasm-node]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-node"

[dependencies.elrond-wasm-output]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-output"
features = ["wasm-output-mode"]

Expand Down
4 changes: 2 additions & 2 deletions contracts/examples/crowdfunding-esdt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ publish = false
path = "src/crowdfunding_esdt.rs"

[dependencies.elrond-wasm]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm"

[dev-dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../elrond-wasm-debug"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion contracts/examples/crowdfunding-esdt/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false
path = ".."

[dependencies.elrond-wasm-debug]
version = "0.29.3"
version = "0.30.0"
path = "../../../../elrond-wasm-debug"
Loading

0 comments on commit 71e8f06

Please sign in to comment.