dapphub / dapptools

Dapp, Seth, Hevm, and more

Home Page:https://dapp.tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

contract not found

henry-hz opened this issue · 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

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
}