@@ -101,15 +101,14 @@ bench *ARGS:
101101 cargo bench --benches {{ ARGS}} -- --nocapture
102102
103103mkconfig NUM_NODES DATETIME * ARGS :
104- cargo run --release --bin mkconfig -- -n {{ NUM_NODES}} \
104+ cargo run --release --bin mkconfig -- \
105+ - n {{ NUM_NODES}} \
105106 - -committee-id 0 \
106- - -public-addr " 127.0.0.1:8000" \
107- - -internal-addr " 127.0.0.1:8003" \
108- - -http-api " 127.0.0.1:8004" \
107+ - -bind " 127.0.0.1:8000" \
109108 - -chain-namespace 10101 \
110109 - -parent-rpc-url " http://127.0.0.1:8545" \
111110 - -parent-ws-url " ws://127.0.0.1:8545" \
112- - -batch-poster-api " http:// 127.0.0.1:8547" \
111+ - -batch-poster-api " 127.0.0.1:8547" \
113112 - -parent-chain-id 31337 \
114113 - -parent-ibox-contract " 0xa0f3a1a4e2b2bcb7b48c8527c28098f207572ec1" \
115114 - -key-manager-contract " 0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35" \
@@ -118,13 +117,13 @@ mkconfig NUM_NODES DATETIME *ARGS:
118117 - -output " test-configs/c0" {{ ARGS}}
119118
120119mkconfig-docker DATETIME * ARGS :
121- cargo run --release --bin mkconfig -- -n 5 \
120+ cargo run --release --bin mkconfig -- \
121+ - n 5 \
122122 - -committee-id 0 \
123- - -public-addr " node:8000" \
124- - -public-mode " docker-dns" \
125- - -internal-addr " node:8003" \
126- - -http-api " node:8004" \
127- - -nitro-addr " nitro:55000" \
123+ - -bind " 0.0.0.0:8000" \
124+ - -external-base " node:8000" \
125+ - -external-mode " docker-dns" \
126+ - -nitro " nitro:55000" \
128127 - -nitro-mode " docker-dns" \
129128 - -parent-rpc-url " http://demo-l1-network:8545" \
130129 - -parent-ws-url " ws://demo-l1-network:8546" \
@@ -139,13 +138,13 @@ mkconfig-docker DATETIME *ARGS:
139138 - -output " test-configs/docker" {{ ARGS}}
140139
141140mkconfig-nitro-ci DATETIME * ARGS :
142- cargo run --release --bin mkconfig -- -n 2 \
141+ cargo run --release --bin mkconfig -- \
142+ - n 2 \
143143 - -committee-id 0 \
144- - -public-addr " 127.0.0.1:8000" \
145- - -internal-addr " 0.0.0.0:8003" \
146- - -http-api " 127.0.0.1:8004" \
147- - -nitro-addr " localhost:55000" \
148- - -batch-poster-api " http://host.docker.internal:8547" \
144+ - -bind " 0.0.0.0:8000" \
145+ - -batch-poster-api " 127.0.0.1:8547" \
146+ - -external-base " 127.0.0.1:8000" \
147+ - -nitro " localhost:55000" \
149148 - -chain-namespace 412346 \
150149 - -parent-rpc-url " http://127.0.0.1:8545" \
151150 - -parent-ws-url " ws://127.0.0.1:8546" \
@@ -159,13 +158,12 @@ mkconfig-nitro-ci DATETIME *ARGS:
159158 - -output " test-configs/nitro-ci" {{ ARGS}}
160159
161160mkconfig-local DATETIME * ARGS :
162- cargo run --release --bin mkconfig -- -n 5 \
161+ cargo run --release --bin mkconfig -- \
162+ - n 5 \
163163 - -committee-id 0 \
164- - -public-addr " 127.0.0.1:8000" \
165- - -internal-addr " 127.0.0.1:8003" \
166- - -http-api " 127.0.0.1:8004" \
167- - -nitro-addr " 127.0.0.1:55000" \
168- - -batch-poster-api " http://127.0.0.1:8547" \
164+ - -bind " 127.0.0.1:8000" \
165+ - -nitro " 127.0.0.1:55000" \
166+ - -batch-poster-api " 127.0.0.1:8547" \
169167 - -nitro-mode " unchanged" \
170168 - -chain-namespace 10101 \
171169 - -parent-rpc-url " http://127.0.0.1:8545" \
@@ -178,14 +176,13 @@ mkconfig-local DATETIME *ARGS:
178176 - -output " test-configs/local" {{ ARGS}}
179177
180178mkconfig-linux NUM_NODES DATETIME * ARGS :
181- cargo run --release --bin mkconfig -- -n {{ NUM_NODES}} \
179+ cargo run --release --bin mkconfig -- \
180+ - n {{ NUM_NODES}} \
182181 - -committee-id 0 \
183- - -public-addr " 11.0.0.1:8000" \
184- - -public-mode " increment-address" \
185- - -internal-addr " 11.0.0.1:8003" \
186- - -http-api " 11.0.0.1:8004" \
187- - -nitro-addr " 11.0.1.0:55000" \
188- - -batch-poster-api " 11.0.0.1:8547" \
182+ - -bind " 11.0.0.1:8000" \
183+ - -batch-poster-api " 127.0.0.1:8547" \
184+ - -bind-mode " increment-address" \
185+ - -nitro " 11.0.1.0:55000" \
189186 - -nitro-mode " unchanged" \
190187 - -chain-namespace 10101 \
191188 - -parent-rpc-url " http://11.0.1.0:8545" \
@@ -255,10 +252,8 @@ test-dyn-comm: build-release-until build-test-utils
255252 --until 2000" \
256253 - -run " 5:target/release/mkconfig -n 4 \
257254 --committee-id 1 \
258- --public-addr 127.0.0.1:9000 \
259- --internal-addr 127.0.0.1:9003 \
260- --http-api 127.0.0.1:9004 \
261- --batch-poster-api 127.0.0.1:9004 \
255+ --bind 127.0.0.1:9000 \
256+ --batch-poster-api " 127.0.0.1 :8547 " \
262257 --chain-namespace 10101 \
263258 --parent-rpc-url http://127.0.0.1:8545 \
264259 --parent-ws-url ws://127.0.0.1:8545 \
0 commit comments