@@ -185,7 +185,7 @@ test-all: build_release build-test-utils
185
185
- -run " 3:scripts/deploy-test-contract" \
186
186
- -spawn " 4:target/release/block-maker --port 55000 --committee test-configs/local/committee.toml" \
187
187
- -spawn " 4:target/release/yapper --keyset-file test-configs/local/committee.toml" \
188
- - -spawn " 5:target/release/run-committee --configs test-configs/local/ --committee 0 --timeboost target/release/timeboost" \
188
+ - -spawn " 5:target/release/run-committee --configs test-configs/local/ --committee-id 0 --timeboost target/release/timeboost" \
189
189
target/ release/ block-checker -- \
190
190
- -config test-configs/ local/ node_0.toml \
191
191
- -committee test-configs/ local/ committee.toml \
@@ -199,7 +199,7 @@ test-dyn-comm: build_release_until build-test-utils
199
199
- -spawn " 1:anvil --port 8545" \
200
200
- -run " 2:sleep 2" \
201
201
- -run " 3:scripts/deploy-test-contract" \
202
- - -spawn " 4:target/release/run-committee --configs test-configs/c0/ --committee 0 --until 1600" \
202
+ - -spawn " 4:target/release/run-committee --configs test-configs/c0/ --committee-id 0 --until 1600" \
203
203
- -run " 5:target/release/mkconfig -n 4 \
204
204
--public-addr 127.0.0.1:9000 \
205
205
--internal-addr 127.0.0.1:9003 \
@@ -229,11 +229,11 @@ test-dyn-comm: build_release_until build-test-utils
229
229
--key-manager-contract 0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35" \
230
230
target/ release/ run-committee -- \
231
231
- -configs test-configs/ c1/ \
232
- - -committee 1 \
233
- - -until 2000 \
234
- - -required-decrypt-rounds 3
232
+ - -committee-id 1 \
233
+ - -until 1800 \
234
+ - -required-decrypt-rounds 3 && rm -rf test-configs / c1
235
235
236
- # portable calculation of now() + 12s in "%Y-%m-%dT%H:%M:%SZ" format
236
+ # portable calculation of now() + 20s in "%Y-%m-%dT%H:%M:%SZ" format
237
237
[private ]
238
238
now-plus-20s :
239
239
@ python3 -c ' from datetime import datetime, timedelta, timezone; print((datetime.now(timezone.utc)+timedelta(seconds=20)).strftime("%Y-%m-%dT%H:%M:%SZ"))'
0 commit comments