From da523dd40da1972533a6fd82765fa840461bb176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Bizjak?= Date: Mon, 15 Apr 2024 10:55:06 +0200 Subject: [PATCH] Changelog. --- contract-testing/CHANGELOG.md | 4 ++++ contract-testing/src/impls.rs | 3 +++ 2 files changed, 7 insertions(+) diff --git a/contract-testing/CHANGELOG.md b/contract-testing/CHANGELOG.md index f3a719fa..84e022fa 100644 --- a/contract-testing/CHANGELOG.md +++ b/contract-testing/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased changes +- Integrate protocol version 7 cost semantics. +- The `ContractInvokeSuccess` and `ContractInvokeError` have additional fields + that record where parts of the energy was allocated during execution. + ## 4.2.0 - Add support for querying the module reference and contract name of an instance. diff --git a/contract-testing/src/impls.rs b/contract-testing/src/impls.rs index d41b2800..827c6d80 100644 --- a/contract-testing/src/impls.rs +++ b/contract-testing/src/impls.rs @@ -998,6 +998,9 @@ impl Chain { } } + // Since this is an internal function it seems better to allow rather than + // introduce a new struct just to call this function. + #[allow(clippy::too_many_arguments)] fn contract_invocation_process_response( &self, result: InvokeResponse,