File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed
target_chains/ethereum/contracts Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ export async function main() {
323323 console . log ( `\n✅ Contract deployed at: ${ deployedAddress } ` ) ;
324324 console . log ( `Trusted signer updated: ${ argv [ "update-signer" ] } ` ) ;
325325 console . log (
326- `Expires at: ${ new Date ( argv [ "expires-at" ] ! * 1000 ) . toISOString ( ) } ` ,
326+ `Expires at: ${ new Date ( ( argv [ "expires-at" ] ?? 0 ) * 1000 ) . toISOString ( ) } ` ,
327327 ) ;
328328 } else if ( argv . deploy ) {
329329 console . log ( `Contract deployed at ${ deployedAddress } ` ) ;
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ cp .env.test .env
5757# Start a local node
5858anvil
5959
60- # Anvil shows a list of default accounts and their corresponding private keys.
60+ # Anvil shows a list of default accounts and their corresponding private keys.
6161# Fetch any one of the private key from the anvil terminal and update in .env file.
6262
6363# In another terminal, deploy the contracts
Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ ignored_warnings_from = [
2121]
2222
2323[rpc_endpoints ]
24- rpc_url =" ${RPC_URL}"
24+ testnet =" ${RPC_URL}"
2525local = " http://localhost:8545"
2626
27- [etherscan ]
28- etherscan_api_key = { key = " ${ETHERSCAN_API_KEY}" }
27+ etherscan_api_key =" ${ETHERSCAN_API_KEY}"
Original file line number Diff line number Diff line change 1515 "setup" : " npm run setup-foundry && npm run install-forge-deps" ,
1616 "build" : " forge build" ,
1717 "test" : " forge test" ,
18- "deploy" : " forge script script/Deploy.s.sol --rpc-url rpc_url --broadcast" ,
19- "deploy-and-verify" : " forge script script/Deploy.s.sol --rpc-url rpc_url --broadcast --verify" ,
18+ "deploy" : " forge script script/Deploy.s.sol --rpc-url testnet --broadcast" ,
19+ "deploy-and-verify" : " forge script script/Deploy.s.sol --rpc-url testnet --broadcast --verify" ,
2020 "deploy-local" : " ETHERSCAN_API_KEY= forge script script/Deploy.s.sol --rpc-url local --broadcast" ,
2121 "receiver-submit-guardian-sets" : " forge script script/ReceiverSubmitGuardianSetUpgrades.s.sol --rpc-url $RPC_URL --broadcast" ,
2222 "create-governance-vaa" : " forge script script/CreateLocalnetGovernanceVaa.s.sol" ,
You can’t perform that action at this time.
0 commit comments