You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to verify a contract I recently deployed using Solidity 0.8.20. My foundry.toml uses the existing profile:
evm_version = "london"
Solidity v0.8.20 by default uses "byzantium" (see "evmVersion" here). So, I have a conflict where my deployed contract is using a different version than the default.
However, forge verify-contract does not have an --evm-version flag and so my compiled bytecode does not match my deployed outcome.
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (1bb2d67 2024-02-19T00:17:15.443050638Z)
What command(s) is the bug in?
forge verify-contract
Operating System
Linux
Describe the bug
I am trying to verify a contract I recently deployed using Solidity 0.8.20. My
foundry.toml
uses the existing profile:Solidity v0.8.20 by default uses "byzantium" (see "evmVersion" here). So, I have a conflict where my deployed contract is using a different version than the default.
However,
forge verify-contract
does not have an--evm-version
flag and so my compiled bytecode does not match my deployed outcome.The text was updated successfully, but these errors were encountered: