Skip to content
This repository was archived by the owner on Feb 14, 2021. It is now read-only.
This repository was archived by the owner on Feb 14, 2021. It is now read-only.

The execution failed due to an exception #47

@ives-x

Description

@ives-x

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
web3@1.0.0-beta.35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions