-
-
Notifications
You must be signed in to change notification settings - Fork 131
verifying smart contract fails when using viaIR is true in truffle config #181
Comments
Hmm interesting. Could you provide a minimal repo where I can reproduce this issue? |
is your evm version correct? isn't byzantium the default for viaIR? |
Hi all, I modified these lines and was able to verify the contract File: node_modules/truffle-plugin-verify/verify.js
|
Hi @heisendevs where do you see inputJSON variable defined? I can't see it |
Maybe you are in a new version, try looking at node_modules/truffle-plugin-verify/dist/types.d.ts |
I tried this, but didn't work. (I tried with 0.6.0 and 0.6.1 versions) |
I have the same problem with version 5.32. the fix works for 6.1. as well |
Truffle is being sunset, so I expect people to move away from Truffle and therefore truffle-plugin-verify. When I tried in the past I haven't been able to figure out a generalised fix that works both with and without |
Describe the bug
verifying smart contract fails when viaIR is true in truffle config
Steps To Reproduce
verifying smart contract fails when viaIR is true in truffle config
https://github.com/rkalis/truffle-plugin-verify/
Environment information
Please provide environment information as complete as possible. Before submitting a bug report, please make sure that you're running an LTS version of Node and the latest versions of Truffle and truffle-plugin-verify.
Debug output
Fail - Unable to verify
Failed to verify 1 contract(s): NFTGame
The text was updated successfully, but these errors were encountered: