I encountered an error when I tried to deploy the contract in step-5. The error message is
Error: Returned error: The execution failed due to an exception
Returned error: The execution failed due to an exception.
https://kovan.etherscan.io/tx/0xefa4e336642d8cd76db969ac1f70f45412728000448a79190f5fef6de1dae81d
{"jsonrpc":"2.0","error":{"code":-32016,"message":"The execution failed due to an exception.","data":"Internal error: Malformed wasm module: internal memory"},"id":2}
The gas limit of the kovan network is 8000000, and the bytecode of the sample program compiled obviously cannot be deployed with 8000000 gas.
Deployment environment:
version Parity-Ethereum/v2.5.0-beta-b52ac20-20190408/x86_64-linux-gnu/rustc1.34.0
[email protected]