Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cannot verify a contract on the Amoy network. #7922

Closed
1 of 2 tasks
Thaddeus19 opened this issue May 14, 2024 · 1 comment · Fixed by #7927
Closed
1 of 2 tasks

I cannot verify a contract on the Amoy network. #7922

Thaddeus19 opened this issue May 14, 2024 · 1 comment · Fixed by #7927
Labels
T-bug Type: bug

Comments

@Thaddeus19
Copy link

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0

What command(s) is the bug in?

forge create --rpc-url $AMOY_URL \ --private-key $PRIVATE_KEY \ --etherscan-api-key $ETHERSCAN_API_KEY \ --verify \ src/mocks/PanUSD.sol:PanoramUSD

Operating System

macOS (Apple Silicon)

Describe the bug

I can't verify the smartcontract deployed on the Amoy network, I'm using the PolygonScan API Key, but I get the error
Start verifying contract 0xE274DB2c4610BcD9b00896967e143DC714109025 deployed on amoy
2024-05-14T04:59:15.202260Z ERROR etherscan: Failed to deserialize response: data did not match any variant of untagged enum ResponseData res="{"code":"50404","data":[],"msg":"URL not found."}"
Error:
Failed to deserialize content: data did not match any variant of untagged enum ResponseData
{"code":"50404","data":[],"msg":"URL not found."}

@Thaddeus19 Thaddeus19 added the T-bug Type: bug label May 14, 2024
mattsse pushed a commit to alloy-rs/chains that referenced this issue May 14, 2024
Use `amoy.polygonscan.com` as both explorer and verification endpoint

ref foundry-rs/foundry#7922
ref foundry-rs/foundry#7724
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant