You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running into API limits with basescan (5 per second) when verifying contracts while some contracts have already been deployed before. E.g. we get an immediate repsonse, and doing this 6 times triggers a 403
To reproduce:
deploy and verify say 10 contracts. Then add another contract and deploy. Then verify. This loops through all the previously verified contracts and checks if they have been deployed which consumes API request at too fast a rate.
Solution
just sleep for 400ms between each API call. Or listen for 403 errors and back off.
The text was updated successfully, but these errors were encountered:
Describe the bug
Running into API limits with basescan (5 per second) when verifying contracts while some contracts have already been deployed before. E.g. we get an immediate repsonse, and doing this 6 times triggers a 403
To reproduce:
Solution
The text was updated successfully, but these errors were encountered: