From 27f89fb288a2938d083b53aa05b4867a4c20f2a1 Mon Sep 17 00:00:00 2001 From: Victor Nordam Suadicani Date: Mon, 5 Aug 2024 11:28:43 +0200 Subject: [PATCH] Update Rust SDK submodule (#436) * Update rust-sdk submodule * Changelogs * Undo changelog in projects that don't use the Rust SDK --- concordium-rust-sdk | 2 +- concordium-std/CHANGELOG.md | 2 -- contract-testing/CHANGELOG.md | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/concordium-rust-sdk b/concordium-rust-sdk index 68529664..74530877 160000 --- a/concordium-rust-sdk +++ b/concordium-rust-sdk @@ -1 +1 @@ -Subproject commit 68529664f395eec287057deb220751a91f41cd98 +Subproject commit 74530877b05a4734f8047b74744e1d6d07c68688 diff --git a/concordium-std/CHANGELOG.md b/concordium-std/CHANGELOG.md index 7a233071..ca9ba040 100644 --- a/concordium-std/CHANGELOG.md +++ b/concordium-std/CHANGELOG.md @@ -1,7 +1,5 @@ # Changelog -## Unreleased changes - ## concordium-std 10.1.0 (2024-04-04) - Add support for querying the module reference and contract name of an instance, diff --git a/contract-testing/CHANGELOG.md b/contract-testing/CHANGELOG.md index 46364be3..3d226d2a 100644 --- a/contract-testing/CHANGELOG.md +++ b/contract-testing/CHANGELOG.md @@ -6,6 +6,7 @@ - The `ContractInvokeSuccess` and `ContractInvokeError` have additional fields that record where parts of the energy was allocated during execution. - Add support for loading the contract under test with the `module_load_output` function. The module path is exposed by `cargo-concordium` through the `CARGO_CONCORDIUM_TEST_MODULE_OUTPUT_PATH` environment variable. +- Updated the Concordium Rust SDK to support the changes introduced in protocol 7. ## 4.2.0 @@ -78,7 +79,7 @@ - These are the elements that were previously returned in the `trace_elements` field. - There is also a version of the method which clones: `effective_trace_elements_cloned()`. - To migrate existing code, replace `some_update.trace_elements` with `some_update.effective_trace_elements_cloned()`. - - Add a helper method, `rollbacks_occurred()`, to determine whether any internal failures or rollbacks occurred. + - Add a helper method, `rollbacks_occurred()`, to determine whether any internal failures or rollbacks occurred. - On the `ContractInvokeError` type: - Include the field `trace_elements` of type `Vec` with the trace elements that were hitherto discarded. (breaking change) - To migrate, include the new field or use `..` when pattern matching on the type.