Skip to content

Commit

Permalink
I F@##$ hate dealing with Etherscan issues. This piece of crap should…
Browse files Browse the repository at this point in the history
… not be cornerstore of Ethereum ecosystem
  • Loading branch information
miohtama committed Jul 22, 2024
1 parent e06beb4 commit 622ef0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eth_defi/foundry/forge.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ def deploy_contract_with_forge(
register_for_tracing=True,
timeout=DEFAULT_TIMEOUT,
wait_for_block_confirmations=0,
verify_delay=60,
verify_retries=9,
) -> Tuple[Contract, HexBytes]:
"""Deploy and verify smart contract with Forge.
Expand Down Expand Up @@ -222,9 +224,9 @@ def deploy_contract_with_forge(
etherscan_api_key,
"--verify",
"--retries",
"10",
str(verify_retries),
"--delay",
"30",
str(verify_delay),
]

cmd_line += [f"{src_contract_file}:{contract_name}"]
Expand Down

0 comments on commit 622ef0d

Please sign in to comment.