You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying contract in tests, it is possible to pass NoArgs when args are needed.
Deploy method should catch that at the runtime and produce error that make sense.
At the moment on odra-vm I get that kind of error:
---- register::tests::initialize::should_set_correct_name_and_symbol stdout ----
thread 'register::tests::initialize::should_set_correct_name_and_symbol' panicked at /Users/ziel/.cargo/registry/src/index.crates.io-6f17d22bba15001f/odra-vm-0.9.1/src/vm/odra_vm.rs:94:9:
Revert: ExecutionError(User(31000)) - Contract(ContractPackageHash(1000000000000000000000000000000000000000000000000000000000000000))::name
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'register::tests::initialize::should_set_correct_name_and_symbol' panicked at src/register.rs:48:1:
called `Result::unwrap()` on an `Err` value: ExecutionError(User(31000))
When deploying contract in tests, it is possible to pass
NoArgs
when args are needed.Deploy method should catch that at the runtime and produce error that make sense.
At the moment on
odra-vm
I get that kind of error:and on
casper-vm
;The text was updated successfully, but these errors were encountered: