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

Cannot export local transaction to tenderly using cli

Open peculiarity opened this issue 2 years ago • 7 comments

Tenderly Current CLI version: v1.4.7 Hardhat Version: 2.12.2 Compiler version: 0.8.15

Trying to export a local transaction. It used to work bu not anymore.

The export fails with the following error message: Couldn't read Hardhat config file: When I debug it there is this error:

[eval]:20
                var jsonConfig = JSON.stringify(config, (key, value) => {
                                      ^

TypeError: Do not know how to serialize a BigInt
    at JSON.stringify (<anonymous>)
    at [eval]:20:25
    at Script.runInThisContext (node:vm:129:12)
    at Object.runInThisContext (node:vm:305:38)
    at node:internal/process/execution:75:19
    at [eval]-wrapper:6:22
    at evalScript (node:internal/process/execution:74:60)
    at node:internal/main/eval_string:27:3

Let me know if you need anything else

Edit: With 2.8.0 hardhat it works just fine not sure where the problem is

peculiarity avatar Oct 28 '22 10:10 peculiarity