Macro sewup_derive::ewasm_rusty_assert_ok [−][src]
ewasm_rusty_assert_ok!() { /* proc-macro */ }
Expand description
helps you assert return Ok(()) your handler with rusty ewasm_main, namely #[ewasm_main(rusty)]
This usage of the macro likes ewasm_assert_ok
, this only difference is that the contract main
function should be decorated with #[ewasm_main(rusty)]
.
Besides, you can run the handler as a block chan user with by
syntax as the same usage of ewasm_assert_ok
.