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() {
323
323
console . log ( `\n✅ Contract deployed at: ${ deployedAddress } ` ) ;
324
324
console . log ( `Trusted signer updated: ${ argv [ "update-signer" ] } ` ) ;
325
325
console . log (
326
- `Expires at: ${ new Date ( argv [ "expires-at" ] ! * 1000 ) . toISOString ( ) } ` ,
326
+ `Expires at: ${ new Date ( ( argv [ "expires-at" ] ?? 0 ) * 1000 ) . toISOString ( ) } ` ,
327
327
) ;
328
328
} else if ( argv . deploy ) {
329
329
console . log ( `Contract deployed at ${ deployedAddress } ` ) ;
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ cp .env.test .env
57
57
# Start a local node
58
58
anvil
59
59
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.
61
61
# Fetch any one of the private key from the anvil terminal and update in .env file.
62
62
63
63
# In another terminal, deploy the contracts
Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ ignored_warnings_from = [
21
21
]
22
22
23
23
[rpc_endpoints ]
24
- rpc_url =" ${RPC_URL}"
24
+ testnet =" ${RPC_URL}"
25
25
local = " http://localhost:8545"
26
26
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 15
15
"setup" : " npm run setup-foundry && npm run install-forge-deps" ,
16
16
"build" : " forge build" ,
17
17
"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" ,
20
20
"deploy-local" : " ETHERSCAN_API_KEY= forge script script/Deploy.s.sol --rpc-url local --broadcast" ,
21
21
"receiver-submit-guardian-sets" : " forge script script/ReceiverSubmitGuardianSetUpgrades.s.sol --rpc-url $RPC_URL --broadcast" ,
22
22
"create-governance-vaa" : " forge script script/CreateLocalnetGovernanceVaa.s.sol" ,
You can’t perform that action at this time.
0 commit comments