dapptools icon indicating copy to clipboard operation
dapptools copied to clipboard

contract not found

Open henry-hz opened this issue 3 years ago • 1 comments

I am trying to debug the transaction below on Fuse network, that uses open-ethereum 3.2.6, The transaction is in the explorer and the 'contract not found' that is shown in the output error, is in fact there also.

seth run-tx 0x83daef68855b01cc70af7976d83ceaa150336e215efa78e4ed0d2922a4817b5a
hevm: contract not found: 0x349Bc296D9945b1D4004d6De029BeAB33A78DEdc
CallStack (from HasCallStack):
  error, called at hevm-cli/hevm-cli.hs:757:11 in main:Main

The rpc is : https://rpc.fuse.io

henry-hz avatar Apr 16 '22 22:04 henry-hz

When running hevm exec like this, the debugger opens [without the source]

export TX=0x83daef68855b01cc70af7976d83ceaa150336e215efa78e4ed0d2922a4817b5a
export ETH_RPC_URL=https://explorer-node.fuse.io

     hevm exec \
     --caller $(seth tx  from) \
     --address $(seth tx $TX to) \
     --calldata $(seth tx $TX input) \
     --rpc $ETH_RPC_URL \
     --block $(($(seth tx $TX blockNumber)-1)) \
     --gas $(seth tx $TX gas) \
     --debug
}

henry-hz avatar Apr 24 '22 13:04 henry-hz