This implementation is based on the original CEP-47 code.
It's required to install cargo-odra first.
cargo odra build
The result files will be placed in ${project-root}/wasm
directory.
To run tests using OdraVM on your local machine, execute:
cargo odra test
To test actual wasm files against a CasperVM backend,
you need to specify the backend passing -b argument to cargo-odra
:
cargo odra test -b casper
To run livenet test suite, first set up the .env
file, build wasm files and run:
cargo run --bin livenet --features livenet