File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,9 @@ function configure_bridge () {
89
89
local L2_MNEMONIC=${L2_MNEMONIC:- " urge never interest human any economy gentle canvas anxiety pave unlock find" }
90
90
91
91
# Copy required arbitrum contract addresses to the local arbitrum address book
92
- npx hardhat nitro:address-book-setup --deployment-file " $ARBITRUM_DEPLOYMENT_FILE " --arbitrum-address-book " $ARBITRUM_ADDRESS_BOOK "
92
+ if [[ " $L1_NETWORK " == * " localnitro" * ]]; then
93
+ npx hardhat nitro:address-book-setup --deployment-file " $ARBITRUM_DEPLOYMENT_FILE " --arbitrum-address-book " $ARBITRUM_ADDRESS_BOOK "
94
+ fi
93
95
94
96
# Configure the bridge
95
97
./cli/cli.ts -a " $ADDRESS_BOOK " -p " $L2_RPC " -m " $L2_MNEMONIC " -n 2 -r " $ARBITRUM_ADDRESS_BOOK " protocol configure-l2-bridge " $L1_CHAIN_ID "
@@ -122,7 +124,7 @@ function test_e2e_scenarios () {
122
124
npx hardhat e2e:scenario open-allocations --network " $NETWORK " --graph-config " $GRAPH_CONFIG " --address-book " $ADDRESS_BOOK "
123
125
124
126
# skip close-allocations for arbitrum testnodes as we can't advance epoch
125
- if [[ " $NETWORK " != * " localnitro" * ]]; then
127
+ if [[ " $NETWORK " != * " localnitro" * ]]; then
126
128
npx hardhat e2e:scenario close-allocations --network " $NETWORK " --graph-config " $GRAPH_CONFIG " --address-book " $ADDRESS_BOOK "
127
129
fi
128
130
}
You can’t perform that action at this time.
0 commit comments