solc does not accept forge
emitted JSON with verify-contract --show-standard-json-input
#9421
Labels
forge
emitted JSON with verify-contract --show-standard-json-input
#9421
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (4817280 2024-11-12T00:20:12.440102314Z)
What command(s) is the bug in?
Operating System
Windows
Describe the bug
I am feeding solc 0.8.25 with the output of
forge verify-contract --show-standard-json-input
. I expect the emitted JSON to be valid for compiler input instandard JSON mode
but it does not. There is a workaround, so this must be a minor bug in the specified forge version. For example, :After applying some cleanup with:
solc
0.8.25 accepts this JSON as input without problem.The text was updated successfully, but these errors were encountered: