tenderly-cli icon indicating copy to clipboard operation
tenderly-cli copied to clipboard

tenderly export failed

Open 09ae9c opened this issue 1 year ago • 3 comments

  1. Run a hardhat node npx hardhat node --fork https://eth-mainnet.alchemyapi.io/v2/<API_KEY> --fork-block-number 15120938
  2. Run my script to create a transaction, after that I got a transaction hash
  3. Run tenderly export 0xa891b44b6c2270162f83d5135d4b288c1c2dd70518e5293301093cbe3762103e --debug, output below:
Trying OpenZeppelin config path: networks.js
couldn't read new OpenzeppelinConfig config file
Trying buidler config path: buidler.config.js
couldn't read new Buidler config file
Trying hardhat config path: hardhat.config.js
unable to fetch config
 Couldn't read Hardhat config file
Trying hardhat ts config path: hardhat.config.ts
Making request
Got response with body
Collecting network information...

Collecting transaction information...
  1. hardhat node output infinity... seems stuck in somewhere
eth_getTransactionReceipt
eth_getStorageAt

  Errors encountered in param 1: Storage slot argument must have a length of 66 ("0x" + 32 bytes), but '0x1' has a length of 3

eth_getTransactionReceipt
eth_getStorageAt

  Errors encountered in param 1: Storage slot argument must have a length of 66 ("0x" + 32 bytes), but '0x1' has a length of 3

eth_getTransactionReceipt
eth_getStorageAt

  Errors encountered in param 1: Storage slot argument must have a length of 66 ("0x" + 32 bytes), but '0x1' has a length of 3

eth_getTransactionReceipt
eth_getStorageAt

  Errors encountered in param 1: Storage slot argument must have a length of 66 ("0x" + 32 bytes), but '0x1' has a length of 3

eth_getTransactionReceipt
eth_getStorageAt

  Errors encountered in param 1: Storage slot argument must have a length of 66 ("0x" + 32 bytes), but '0x1' has a length of 3

eth_getTransactionReceipt
eth_getStorageAt

  Errors encountered in param 1: Storage slot argument must have a length of 66 ("0x" + 32 bytes), but '0x1' has a length of 3

eth_getTransactionReceipt
eth_getStorageAt

  Errors encountered in param 1: Storage slot argument must have a length of 66 ("0x" + 32 bytes), but '0x1' has a length of 3
...

09ae9c avatar Jul 16 '22 10:07 09ae9c

@09ae9c Someone will take a look at this and we will let you know when we have the fix.

Imafikus avatar Jul 18 '22 12:07 Imafikus

I am having the same issue.

Solidity compiler: 0.7.6 Forking Binance mainnet.

ccostel avatar Jul 19 '22 08:07 ccostel

@09ae9c @ccostel Guys, you need to upgrade your ethers, hardhat and @hardhat-ethers packages to latest version

stkolmagorov avatar Nov 03 '22 05:11 stkolmagorov