Concordium / concordium-smart-contract-tools

Tools for building, deploying, and interacting with smart contracts
Apache License 2.0
2 stars 8 forks source link

Update to testhost with state support for unit tests #158

Closed limemloh closed 6 months ago

limemloh commented 6 months ago

Purpose

Update base to version where concordium_smart_contract_engine::run_module_tests supports state related smart contract host functions.

Needed to do allow unit tests for the new StateBTreeMap and StateBTreeSet introduced in https://github.com/Concordium/concordium-rust-smart-contracts/pull/405 using cargo-concordium.

concordium-base PR: https://github.com/Concordium/concordium-base/pull/520

Changes