Skip to content

Commit 200ab3a

Browse files
authored
Update to 2.2.0. Smarter wait_for_transaction. (#585)
1 parent c6ccf50 commit 200ab3a

Some content is hidden

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

48 files changed

+91
-70
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
Changelog for `odra`.
44

5+
## [2.2.0] - 2025-07-16
6+
### Added
7+
- `DeployerExt::load_or_deploy_with_cfg` in `odra-cli` to make contracts deployment smoother.
8+
- Support for minimum bid amount in OdraVM to reflect the default CasperVM behaviour.
9+
- Contract can query ValidatorInfo for its minimum bid amount.
10+
11+
### Fixed
12+
- Fixed mismatch between rewards in OdraVM and CasperVM.
13+
- Improved support for decoding a wider range of types in `odra-cli`.
14+
- Smarter `CasperClient::wait_for_transaction`, that handles empty execution results.
15+
16+
### Changed
17+
- `OdraConfig` trait is now replaced by `InstallConfig` struct.
18+
519
## [2.1.0] - 2025-07-08
620
### Added
721
- `init_dictionary` function in `ContractEnv`.

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exclude = [
2828
resolver = "2"
2929

3030
[workspace.package]
31-
version = "2.1.0"
31+
version = "2.2.0"
3232
authors = [
3333
"Jakub Płaskonka <kuba@odra.dev>",
3434
"Krzysztof Pobiarżyn <krzysztof@odra.dev>",
@@ -39,13 +39,13 @@ homepage = "https://odra.dev/docs"
3939
repository = "https://github.com/odradev/odra"
4040

4141
[workspace.dependencies]
42-
odra-core = { path = "core", version = "2.1.0" }
43-
odra-macros = { path = "odra-macros", version = "2.1.0" }
44-
odra-casper-test-vm = { path = "odra-casper/test-vm", version = "2.1.0" }
45-
odra-casper-rpc-client = { path = "odra-casper/rpc-client", version = "2.1.0" }
46-
odra-vm = { path = "odra-vm", version = "2.1.0" }
47-
odra-casper-wasm-env = { path = "odra-casper/wasm-env", version = "2.1.0" }
48-
odra-schema = { path = "odra-schema", version = "2.1.0" }
42+
odra-core = { path = "core", version = "2.2.0" }
43+
odra-macros = { path = "odra-macros", version = "2.2.0" }
44+
odra-casper-test-vm = { path = "odra-casper/test-vm", version = "2.2.0" }
45+
odra-casper-rpc-client = { path = "odra-casper/rpc-client", version = "2.2.0" }
46+
odra-vm = { path = "odra-vm", version = "2.2.0" }
47+
odra-casper-wasm-env = { path = "odra-casper/wasm-env", version = "2.2.0" }
48+
odra-schema = { path = "odra-schema", version = "2.2.0" }
4949
casper-contract = { version = "5.1.0", default-features = false }
5050
casper-contract-schema = { version = "0.5.0" }
5151
casper-types = "6.0.0"

benchmark/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "benchmark"
3-
version = "2.1.0"
3+
version = "2.2.0"
44
edition = "2021"
55

66
[dependencies]

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "odra-examples"
3-
version = "2.1.0"
3+
version = "2.2.0"
44
edition = "2021"
55

66
[dependencies]

examples/resources/casper_contract_schemas/balance_checker_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": null,
66
"homepage": null,
77
"contract_name": "BalanceChecker",
8-
"contract_version": "2.1.0",
8+
"contract_version": "2.2.0",
99
"types": [],
1010
"errors": [],
1111
"entry_points": [

examples/resources/casper_contract_schemas/cross_contract_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": null,
66
"homepage": null,
77
"contract_name": "CrossContract",
8-
"contract_version": "2.1.0",
8+
"contract_version": "2.2.0",
99
"types": [],
1010
"errors": [],
1111
"entry_points": [

examples/resources/casper_contract_schemas/dog_contract2_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": null,
66
"homepage": null,
77
"contract_name": "DogContract2",
8-
"contract_version": "2.1.0",
8+
"contract_version": "2.2.0",
99
"types": [],
1010
"errors": [],
1111
"entry_points": [

examples/resources/casper_contract_schemas/dog_contract3_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": null,
66
"homepage": null,
77
"contract_name": "DogContract3",
8-
"contract_version": "2.1.0",
8+
"contract_version": "2.2.0",
99
"types": [],
1010
"errors": [],
1111
"entry_points": [

examples/resources/casper_contract_schemas/dog_contract_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": null,
66
"homepage": null,
77
"contract_name": "DogContract",
8-
"contract_version": "2.1.0",
8+
"contract_version": "2.2.0",
99
"types": [
1010
{
1111
"struct": {

examples/resources/casper_contract_schemas/host_contract_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": null,
66
"homepage": null,
77
"contract_name": "HostContract",
8-
"contract_version": "2.1.0",
8+
"contract_version": "2.2.0",
99
"types": [],
1010
"errors": [],
1111
"entry_points": [

0 commit comments

Comments
 (0)