Skip to content

Commit

Permalink
Update Rust SDK submodule (#436)
Browse files Browse the repository at this point in the history
* Update rust-sdk submodule

* Changelogs

* Undo changelog in projects that don't use the Rust SDK
  • Loading branch information
Victor-N-Suadicani authored Aug 5, 2024
1 parent 5271560 commit 27f89fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions concordium-std/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
3 changes: 2 additions & 1 deletion contract-testing/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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<DebugTraceElements>` with the trace elements that were hitherto discarded. (breaking change)
- To migrate, include the new field or use `..` when pattern matching on the type.
Expand Down

0 comments on commit 27f89fb

Please sign in to comment.