wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.18k stars 286 forks source link

Increase sleep not to reach Etherscan verify limit #384

Open Rekard0 opened 1 year ago

Rekard0 commented 1 year ago

I'm always frustrated when trying to verify contracts with:

await run(TASK_ETHERSCAN_VERIFY, { solcInput: true, sleep: true, });

i always get:

contract Example failed to submit : "NOTOK" : "Max rate limit reached, please use API Key for higher rate limit"

It would be nice to be able to pass seconds instead of bool to "sleep" attribute

Another solution could be to increase the sleep from 500 to 6000 just to be safe