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

Compiler version is inconstistent

Open RilRil opened this issue 3 years ago • 0 comments

Hi ! not sure the issue is coming from this plugin exactly but you might be able to help. When trying to debug a transaction and doing tenderly export --debug --force <tx_hash> I get this error

Trying Hardhat config path: /Users/dev/project/hardhat.config.js
[          ] Making request
[======    ] Got response with body
api error exporting transaction: invalid_compiler_version
Compiler version is inconsistent

and here is the solidity part of my hardhat.config.js

  solidity: {
    compilers: [
      {
        version: "0.5.1",
        settings: { optimizer: { enabled: false, runs: 200 } }
      },
      { version: "0.5.16" },
      {
        version: "0.6.6",
        settings: { optimizer: { enabled: true, runs: 1000 } }
      },
      {
        version: "0.7.6",
        settings: { optimizer: { enabled: false, runs: 200 } }
      }
    ]
  },

Do you have any idea of what could cause this ? I didn't found anything related to this in the docs.. thanks in advance

RilRil avatar Apr 20 '22 09:04 RilRil