Concordium / concordium-rust-smart-contracts

Libraries and tools for writing and testing smart contracts on Concordium
https://docs.rs/concordium-std/latest/concordium_std/
Mozilla Public License 2.0
57 stars 36 forks source link

Update examples to use `module_load_output` #435

Open lassemoldrup opened 3 months ago

lassemoldrup commented 3 months ago

Task description

The smart contract examples should be updated so that any time they load the contract under test by manually entering the module output path (e.g. with module_load_v1), they should use module_load_output instead, which automatically gets the path. Note that this should only be done after the required functionality in cargo-concordium (https://github.com/Concordium/concordium-smart-contract-tools/pull/167) is released.