Skip to content

Failed to instantiate contract ... Some("OutOfGas") #180

@mutantcornholio

Description

@mutantcornholio
  • clone scc-testing repo
  • cd axelar-gmp-sdk-solidity
  • update environment to provide ETC_RPC_BIN, REVIVE_DEV_NODE_BIN and RESOLC_BIN
  • run npx hardhat test --network hardhat --grep 'AxelarValuedExpressExecutableTest Execute With Token \(different ERC20\) pt.1

the output is:

  1) GMPE
       AxelarValuedExpressExecutableTest Execute With Token (different ERC20) pt.1
         Should Execute without express:
     ProviderError: Failed to instantiate contract: Module(ModuleError { index: 5, error: [3, 0, 0, 0], message: Some("OutOfGas") })
      at HttpProvider.request (/Users/cornholio/work/parity/scc-testing/axelar-gmp-sdk-solidity/node_modules/hardhat/src/internal/core/providers/http.ts:116:21)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at EthersProviderWrapper.send (/Users/cornholio/work/parity/scc-testing/axelar-gmp-sdk-solidity/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)

run the same, but with polkadot: false in config, and the test passes.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions