Skip to content

Update to testhost with state support for unit tests #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 20, 2024

Conversation

limemloh
Copy link
Contributor

@limemloh limemloh commented Mar 11, 2024

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
Concordium/concordium-rust-smart-contracts#405 using cargo-concordium.

concordium-base PR: Concordium/concordium-base#520

Changes

  • Update base and fix missing cases.
  • Bump minimum rust version to 1.73 in cargo-concordium

@limemloh limemloh force-pushed the unit-test-state-support branch from 8679681 to f715fda Compare March 11, 2024 10:49
@limemloh limemloh requested a review from abizjak March 11, 2024 11:08
@limemloh limemloh force-pushed the unit-test-state-support branch from a5d539e to c81f59d Compare March 20, 2024 07:57
@limemloh limemloh merged commit 3388c65 into main Mar 20, 2024
@limemloh limemloh deleted the unit-test-state-support branch March 20, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants