bug(forge verify-bytecode
): incorrectly returning 'No bytecode found at address'
#8710
Closed
2 tasks done
Labels
Milestone
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (fa0e0c2 2024-08-22T00:18:15.471698000Z)
What command(s) is the bug in?
forge verify-bytecode
Operating System
macOS (Apple Silicon)
Describe the bug
The recent PR: #8510 introduced new functionality around being able to ignore creation code and using different block explorers.
I'm trying to use a different L2 block explorer to verify a predeploy contract and I'm not able to get the command working. All three of the following commands fail (see screenshot below for failure message).
These commands contain Blockscout explorers for Metal, Mode & Zora op stack rollups.
@yash-atreya @zerosnacks have you got an example of the test you used for testing a blockscout API like this?
I was able to get this command to work, however it's using Ethereum mainnet so I'm guessing this was on the happy path:
Steps to reproduce
Error Screenshot
Maybe I'm misunderstanding and passing in the incorrect Blockscout URL for these L2s.
cc: @mds1
The text was updated successfully, but these errors were encountered: