Skip to content

Commit f9651fa

Browse files
committed
fix: enough time for resharing
1 parent d07f98e commit f9651fa

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

justfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ test-dyn-comm: build_release_until build-test-utils
199199
--spawn "1:anvil --port 8545" \
200200
--run "2:sleep 2" \
201201
--run "3:scripts/deploy-test-contract" \
202-
--spawn "4:target/release/run-committee --configs test-configs/c0/ --committee 0" \
203-
--run "5:target/release/mkconfig -n 3 \
202+
--spawn "4:target/release/run-committee --configs test-configs/c0/ --committee 0 --until 1600" \
203+
--run "5:target/release/mkconfig -n 4 \
204204
--public-addr 127.0.0.1:9000 \
205205
--internal-addr 127.0.0.1:9003 \
206206
--http-api 127.0.0.1:9004 \
@@ -213,27 +213,27 @@ test-dyn-comm: build_release_until build-test-utils
213213
--timestamp `just now-plus-20s` \
214214
--stamp-dir /tmp \
215215
--output test-configs/c1" \
216-
--run "6:target/release/register \
216+
--run "6:sleep 8" \
217+
--run "7:target/release/register \
217218
-u http://localhost:8545 \
218219
-k 0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35 \
219-
-c test-configs/c1/committee.toml" \
220-
--run "7:sleep 8" \
220+
-c test-configs/c0/committee.toml \
221+
-a threshold-enc-key" \
221222
--run "8:target/release/register \
222223
-u http://localhost:8545 \
223224
-k 0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35 \
224-
-c test-configs/c0/committee.toml \
225-
-a threshold-enc-key" \
225+
-c test-configs/c1/committee.toml" \
226226
--spawn "9:target/release/yapper \
227227
--keyset-file test-configs/c1/committee.toml \
228228
--parent-url http://localhost:8545 \
229229
--key-manager-contract 0x2bbf15bc655c4cc157b769cfcb1ea9924b9e1a35" \
230230
target/release/run-committee -- \
231231
--configs test-configs/c1/ \
232232
--committee 1 \
233-
--until 500 \
233+
--until 2000 \
234234
--required-decrypt-rounds 3
235235

236-
# portable calculation of now() + 20s in "%Y-%m-%dT%H:%M:%SZ" format
236+
# portable calculation of now() + 12s in "%Y-%m-%dT%H:%M:%SZ" format
237237
[private]
238238
now-plus-20s:
239-
@python3 -c 'from datetime import datetime, timedelta, timezone; print((datetime.now(timezone.utc)+timedelta(seconds=20)).strftime("%Y-%m-%dT%H:%M:%SZ"))'
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

Comments
 (0)