Using the genesis provided here (which is the same as the ewasm testnet genesis for milestone 1), a transaction containing this wast fails to deploy:
(module
(import "ethereum" "storageStore" (func $storageStore (param i32 i32)))
(memory 1)
(data (i32.const 0) "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") ;; Path
(data (i32.const 32) "\cd\ab\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") ;; Value
(export "memory" (memory 0))
(export "main" (func $main))
(func $main
)
)
The only output I get from Hera is:
"Sentinel has failed on contract. It is invalid."
Maybe this is intended (and the contract is in some way malformed according to wasm-chisel's validation specs), however it is completely opaque what the underlying reason for the failure is.
Using the genesis provided here (which is the same as the ewasm testnet genesis for milestone 1), a transaction containing this wast fails to deploy:
The only output I get from Hera is:
"Sentinel has failed on contract. It is invalid."Maybe this is intended (and the contract is in some way malformed according to wasm-chisel's validation specs), however it is completely opaque what the underlying reason for the failure is.