-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve verify process #3
Comments
Doesn't Recently, I have also seen that |
yes, most likely. the problem here is that the block explorer takes a couple of seconds to fetch all the data from the chain. although the contract is deployed, the API call doesn’t recognize it immediately, which would throw this error: if we deploy all contracts first and then verify them, it is very likely that sufficient time will have passed for the block explorer to fetch the data, e.g.:
lmk if this makes sense
interesting, haven't seen it |
Thats a good explanation of it. Thanks. |
In the
flow
deployment I have passed for certain chains (major ones) the --verify flag.It didn't work, and it reverted with the error:
Too many api calls
instead of running 1 CLI (
forge script <options> --verify --etherscan-api <key>
) try to run 2:FOUNDRY_PROFILE=optimized forge script <options>
FOUNDRY_PROFILE=optimized forge verify-contract <contract> <options>
disclaimer: not sure it will be fixed
The text was updated successfully, but these errors were encountered: