discovery-docker-network
discovery-docker-network copied to clipboard
Wrong parameters in Deployment of contract results in `unreachable`
trafficstars
Describe the bug Deploying a secret contract on the network passing a wrong set of parameters to the constructor results in an error in deployment reported as
core_1 | Error in deployment of smart contract function: Error in execution of WASM code: unreachable
core_1 | 17:54:42 [INFO] LOG DERIVE: Ok(FailedTask { result: FailedTask { output: "7bab741bea22ea9ce914ec7800481b503969936e4a1e32af810a6aa12f939fe2dff09482ef1e8081e811e934f0753ebcd1c2e9d04717cd27038ebe3e9af5c8ca4b4a4bb163c3d396", used_gas: 963, signature: "408c5fa05d4842049cc10350f460aa5bfbb488c65fa134b5e9dcc98df95d842f1c217d3d0e7933d28f2cb8094182067952a206dd48443e2687ffd8ded4d061e01c" } })
Note: this is a follow up to Issue 117 in core
To Reproduce Steps to reproduce the behavior:
- Launch the network
- Run the following tests:
01_init.spec.js
03_deploy_fail_parameters.spec.js
Expected behavior I would expect an error that would explicitly say something about the wrong set of parameters.
Otherwise confirm that this the desired behavior.
This was already identified as core error. See https://github.com/enigmampc/enigma-core/issues/128, including @moriaab comment. (@lacabra)