Skip to content

Commit

Permalink
Verify AllowanceHolder on Sourcify
Browse files Browse the repository at this point in the history
  • Loading branch information
duncancmt committed Jul 15, 2024
1 parent 5594cc8 commit 6ea32fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sh/deploy_allowanceholder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export FOUNDRY_OPTIMIZER_RUNS=1000000

forge clean
forge create --no-cache --private-key "$(get_secret allowanceHolder key)" --chain "$(get_config chainId)" --rpc-url "$rpc_url" --gas-price "$gas_price" --gas-limit 4000000 --etherscan-api-key "$(get_api_secret etherscanKey)" --verifier-url "$(get_config etherscanApi)" --verify $(get_config extraFlags) src/allowanceholder/AllowanceHolder.sol:AllowanceHolder
forge verify-contract --watch --chain "$(get_config chainId)" --verifier sourcify --constructor-args 0x "$(get_secret allowanceHolder address)" src/allowanceholder/AllowanceHolder.sol:AllowanceHolder

echo 'Deployment is complete' >&2
echo 'Add the following to your chain_config.json' >&2
Expand Down

0 comments on commit 6ea32fd

Please sign in to comment.