hardhat-tenderly
hardhat-tenderly copied to clipboard
Cannot export transaction from local network
Following the steps here (https://github.com/Tenderly/tenderly-cli#export), I tried to export a transaction completed in my local hardhat network.
Steps to reproduce:
- I execute a run.js Hardhat script to execute a local transaction. Below an excerpt:
tx {
hash: '0x1ef8519aef9e5013dbffa3e6aae9c06dab31009f453c5f51a4e3e6fce5888278',
type: 2,
accessList: [],
blockHash: '0x3b036d2ea516eabc490946a61a875f3208305d7be37ba8748db13525a0fc9900',
blockNumber: 2,
transactionIndex: 0,
I copy-and-paste the tx hash (0x1ef85...) into the tenderly export command:
tenderly export 0x1ef8519aef9e5013dbffa3e6aae9c06dab31009f453c5f51a4e3e6fce5888278
I obtain the errors on the Hardhat console below:
eth_getTransactionReceipt
eth_getStorageAt
Errors encountered in param 1: Storage slot argument must have a length of 66 ("0x" + 32 bytes), but '0x2' has a length of 3
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
Any helps/hints much appreciated!
I'm getting the same error, did you manage to find a solution ?
Same error here... Current CLI version: v1.4.5
My hardhat-tenderly version "@tenderly/hardhat-tenderly": "^1.1.4",
same issue with 1.1.5