Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
DOBEN committed Jul 8, 2024
1 parent 8d061ae commit 84fd25e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Unreleased changes

- Update the `ContractClient` to optionally include a schema. Cloning of the `ContractClient` can get expensive with large schemas as a result.
- Update the `create` method to the `ContractClient` to look up the embedded schema from the chain.
- Add `dry_run_update_with_reject_reason_info` and `dry_run_update_raw_with_reject_reason_info` methods to the `ContractClient`. They are like the `dry_run_update` and `dry_run_update_raw` methods but in case of a reject, decode the reject reason into a human-readable error.
- Add `decode_concordium_std_error` and `decode_smart_contract_revert` functions to facilitate reject reason decoding of failed transactions.
- Add `cis3` module and `Cis3Contract` for interacting with CIS3 contracts.
- Updated the concordium-base submodule to incorporate protocol 7 changes (cooldown and baker pool status changes).
Specifically, this changes the following public types:
Expand Down
2 changes: 1 addition & 1 deletion src/contract_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ pub fn decode_concordium_std_error(reject_reason: i32) -> Option<String> {

/// Extract the error schema for the given `receive_name` and `contract_name`
/// from the provided `schema`.
pub fn get_error_schema(
fn get_error_schema(
schema: &VersionedModuleSchema,
receive_name: OwnedReceiveName,
contract_name: &OwnedContractName,
Expand Down

0 comments on commit 84fd25e

Please sign in to comment.