bug(forge script
): ResponseData
error when verifying smart contract on Mode, but verification succeeds.
#9072
Labels
A-verification
Area: verification
C-forge
Command: forge
Cmd-forge-script
Command: forge script
P-low
Priority: low
T-bug
Type: bug
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (de596a4 2024-09-06T00:25:03.025680000Z)
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
I try to run this command:
forge script script/VerifyAll.s.sol --ffi --rpc-url https://sepolia.mode.network --verifier-url https://sepolia.explorer.mode.network/api
.In response, I get the following output:
forge script script/VerifyAll.s.sol --ffi --rpc-url https://sepolia.mode.network --verifier-url https://sepolia.explorer.mode.network/api [⠒] Compiling... No files changed, compilation skipped 2024-10-09T02:54:08.871697Z ERROR etherscan: Failed to deserialize response: data did not match any variant of untagged enum ResponseData res="{\"message\":\"OK\",\"result\":[{\"Address\":\"0x5b73c5498c1e3b4dba84de0f1833c4a029d90519\"}],\"status\":\"1\"}" Script ran successfully.
The
VerifyAll.s.sol
file is a utility script which can be found here: VerifyAll.s.sol. However, I have gutted it in my project to be exactly like so:and I still receive the error.
Not sure if there is a way to fix the error on my end or if its an issue with Foundry itself.
Glad to help any way I can.
Thanks!
The text was updated successfully, but these errors were encountered: