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

Forge verify: etherscan: Failed to deserialize response: data did not match any variant of untagged enum ResponseData #4302

Closed
1 of 2 tasks
KittyFu307 opened this issue Feb 8, 2023 · 10 comments · Fixed by gakonst/ethers-rs#2127
Labels
T-bug Type: bug

Comments

@KittyFu307
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 (249538f 2023-02-08T00:12:05.805004Z)

What command(s) is the bug in?

forge script

Operating System

macOS (Apple Silicon)

Describe the bug

Hi team, when I try to verify the contract in arbitrum goerli, it will show this error: etherscan: Failed to deserialize response: data did not match any variant of untagged enum ResponseData. However I can succeed verify my contract in bsc testnet.

2023-02-08T07:11:17.698102Z ERROR etherscan: Failed to deserialize response: expected value at line 1 column 1 res="Page not found"

Is there more detail of this error, thanks
IMG

@KittyFu307 KittyFu307 added the T-bug Type: bug label Feb 8, 2023
@gakonst gakonst added this to Foundry Feb 8, 2023
@github-project-automation github-project-automation bot moved this to Todo in Foundry Feb 8, 2023
@mattsse
Copy link
Member

mattsse commented Feb 8, 2023

Page not found

is the API live?

@KittyFu307
Copy link
Author

yes

@mattsse
Copy link
Member

mattsse commented Feb 8, 2023

what is it?

@KittyFu307
Copy link
Author

KittyFu307 commented Feb 8, 2023

Page not found

is the API live?

@mattsse
Copy link
Member

mattsse commented Feb 8, 2023

ah sorry, I didn't read the issue properly.

https://api.arbiscan.io/api

seems to be working

@mattsse
Copy link
Member

mattsse commented Feb 8, 2023

ah nvm it's arbitrum goerli

and https://goerli-rollup-explorer.arbitrum.io/api is down

@mattsse
Copy link
Member

mattsse commented Feb 8, 2023

this looks like blockscout url

would you like to submit a PR here that changes them to arbiscan?

https://github.com/gakonst/ethers-rs/blob/e20bb715699280402c155a0abbfc82656582242e/ethers-core/src/types/chain.rs#L283-L286

@KittyFu307
Copy link
Author

KittyFu307 commented Feb 8, 2023

I noticed that you have submitted a PR, Thank you for your help~

@mattsse
Copy link
Member

mattsse commented Feb 8, 2023

I only opened an issue, would appreciate if you could either post the correct arbiscan API URL for goerli here or open a PR 🙏
ty!

@KittyFu307
Copy link
Author

sure I found it is: https://api-goerli.arbiscan.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants