Skip to content

Commit

Permalink
update api key
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweichi committed Oct 30, 2024
1 parent c41a5b4 commit 90934ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/scripts/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ while IFS= read -r line; do
if [[ "$VERIFIER_TYPE_L1" != "etherscan" && "$VERIFIER_TYPE_L1" != "" ]]; then
EXTRA_PARAMS="--verifier-url $EXPLORER_URI_L1 --verifier $VERIFIER_TYPE_L1"
fi
forge verify-contract $contract_addr $source_code_name --rpc-url $L1_RPC_ENDPOINT --chain-id $CHAIN_ID_L1 --watch $EXPLORER_API_KEY_L1 --guess-constructor-args --skip-is-verified-check --etherscan-api-key $EXTRA_PARAMS
forge verify-contract $contract_addr $source_code_name --rpc-url $L1_RPC_ENDPOINT --chain-id $CHAIN_ID_L1 --watch --api-key $EXPLORER_API_KEY_L1 --guess-constructor-args --skip-is-verified-check --etherscan-api-key $EXTRA_PARAMS
elif [[ "$layer" == "L2" ]]; then
if [[ "$VERIFIER_TYPE_L2" != "etherscan" && "$VERIFIER_TYPE_L2" != "" ]]; then
EXTRA_PARAMS="--verifier-url $EXPLORER_URI_L2 --verifier $VERIFIER_TYPE_L2"
fi
forge verify-contract $contract_addr $source_code_name --rpc-url $L2_RPC_ENDPOINT --chain-id $CHAIN_ID_L2 --watch $EXPLORER_API_KEY_L2 --guess-constructor-args --skip-is-verified-check --etherscan-api-key $EXTRA_PARAMS
forge verify-contract $contract_addr $source_code_name --rpc-url $L2_RPC_ENDPOINT --chain-id $CHAIN_ID_L2 --watch --api-key $EXPLORER_API_KEY_L2 --guess-constructor-args --skip-is-verified-check --etherscan-api-key $EXTRA_PARAMS
fi
done < ./volume/config-contracts.toml

0 comments on commit 90934ca

Please sign in to comment.