rkalis / truffle-plugin-verify

✅ Verify your smart contracts on Etherscan from the Truffle CLI
https://kalis.me/verify-truffle-smart-contracts-etherscan/
MIT License
467 stars 130 forks source link

truffle verify fail #171

Closed coinsccg closed 1 year ago

coinsccg commented 2 years ago

image

image

I am using version 0.8.4, why use 0.8.15 to verify the contract

rkalis commented 2 years ago

The plugin looks at the artifact JSON file, which contains the actual Solidity version that was used to compile the Solidity contract. Are you sure that the compilation settings were set to 0.8.4 at the time of compilation?

rkalis commented 1 year ago

I'm closing this issue due to inactivity and being unable to reproduce. If this issue persists, please re-open the issue with a small repo where it can be reproduced.