foundry
foundry copied to clipboard
feat(`forge-script`): add `--confirmations` flag to wait for `n` confirmations
Component
Forge
Describe the feature you would like
Right now, the forge script verifier gets a little confused if it doesn't find any bytecode, and just exists. An easy solution I use with Brownie, Hardhat, Truffle, and Ape is to just wait X confirmations before attempting a verification.
Having a flag to wait x confirmations would be great.
forge script script/MyScript.sol --wait-confirmations 6
And this will result in:
##
Waiting for receipts.
⠉ [00:00:12] [######################################################################################################################################################################################] 6/6 receipts (0.0s)
Additional context
No response