Skip to content

Commit 23710c0

Browse files
authored
Merge branch 'main' into li/keymanager-address
2 parents e425cab + 31387b8 commit 23710c0

File tree

34 files changed

+480
-330
lines changed

34 files changed

+480
-330
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -217,20 +217,15 @@ jobs:
217217
uses: foundry-rs/foundry-toolchain@v1
218218
- name: Run Test Node with Timeboost
219219
run: |
220-
./test-node/test-node.bash \
221-
--build-dev-nitro \
222-
--batchposters 0 \
223-
--redundantsequencers 1 \
224-
--decentralized-timeboost \
225-
--init &
220+
just run-integration-nitro-ci
226221
- name: Run test timeboost with nitro sequencer
227-
run: just run-demo --ignore-stamp -c test-configs/nitro-ci --rounds 10000 --yapper --nitro http://localhost:8547
222+
run: just run-demo --ignore-stamp -c test-configs/nitro-ci --rounds 10000 --nitro-senders 2 --yapper --nitro http://localhost:8547
228223
- name: Verify sequencer blocks
229224
run: |
230225
RUST_LOG=info just verify-blocks
231226
- name: Docker Logs Sequencer 1
232227
if: failure()
233-
run: docker logs test-node-sequencer-1
228+
run: docker logs timeboost-nitro0-1
234229
- name: Docker Logs Sequencer 2
235230
if: failure()
236-
run: docker logs test-node-sequencer_b-1
231+
run: docker logs timeboost-nitro0-1

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@
44
[submodule "contracts"]
55
path = contracts
66
url = https://github.com/EspressoSystems/timeboost-contracts.git
7-
[submodule "test-node"]
8-
path = test-node
9-
url = https://github.com/EspressoSystems/decentralized-timeboost-nitro-testnode

Cargo.lock

Lines changed: 26 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ parking_lot = "0.12.3"
7777
prometheus = "0.14"
7878
prost = "0.14.1"
7979
quickcheck = "1.0.3"
80-
quick_cache = "0.6.16"
80+
quick_cache = "0.6.18"
8181
rand = "0.9"
8282
rayon = "1.10"
8383
rustix = { version = "1.1.2", features = ["process"] }
@@ -86,7 +86,7 @@ secp256k1 = { version = "0.31.0", features = ["global-context", "hashes", "rand"
8686
serde = { version = "1", features = ["derive", "rc"] }
8787
serde_bytes = "0.11.15"
8888
serde_json = { version = "1.0" }
89-
serde_with = "3.12.0"
89+
serde_with = "3.15.1"
9090
sha2 = { version = "0.10", default-features = false }
9191
smallvec = "1.15.1"
9292
snow = "0.10.0"

benchmarks/justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ timeboost-times nodes: (build "times")
5656
--run "3:scripts/deploy-contract -c test-configs/linux/committee.toml --max-nodes {{nodes}} -u http://11.0.1.0:8545" \
5757
--spawn "4:target/release/block-maker --bind 11.0.1.0:55000 -c test-configs/linux/committee.toml --max-nodes {{nodes}}" \
5858
--spawn "4:target/release/yapper -c test-configs/linux/ --max-nodes {{nodes}}" \
59-
--spawn-as-root "5:target/release/run-committee -u $(id -u) -g $(id -g) -c test-configs/linux/ --times-until 10000 --max-nodes {{nodes}}" \
60-
target/release/block-checker -- -c test-configs/linux -b 10000 --max-nodes {{nodes}}
59+
--spawn-as-root "5:target/release/run-committee -u $(id -u) -g $(id -g) -c test-configs/linux/ --times-until 3000 --max-nodes {{nodes}}" \
60+
target/release/block-checker -- -c test-configs/linux -b 3000 --max-nodes {{nodes}}
6161

6262
plot-node gnuplot output csv:
6363
#!/usr/bin/env bash

benchmarks/sailfish.gnuplot

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ set termopt enhanced
22
set datafile separator ','
33
set xlabel 'Round'
44
set ylabel 'Duration (ms)'
5+
set key outside right bottom
6+
set margins 10,25,5,5
7+
set yrange [0:30]
58

69
set term svg size 800,600 background "#FFFFFF"
710

8-
plot filename using 1:2 with lines lc rgb "#A0DD0000" title 'Commit latency',\
9-
filename using 1:3 with lines lc rgb "#A000DD00" title 'Message validation',\
10-
filename using 1:4 with lines lc rgb "#A00000DD" title 'RBC delivery'
11+
plot filename using 1:2 with lines lc rgb "#A000DD00" title 'Round start',\
12+
filename using 1:3 with lines lc rgb "#A00000DD" title 'RBC leader info',\
13+
filename using 1:4 with lines lc rgb "#A0DD0000" title 'Commit'

benchmarks/timeboost-verified.gnuplot

Lines changed: 0 additions & 12 deletions
This file was deleted.

benchmarks/timeboost.gnuplot

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ set termopt enhanced
22
set datafile separator ','
33
set xlabel 'Round'
44
set ylabel 'Duration (ms)'
5+
set key outside right bottom
6+
set margins 10,20,5,5
57

68
set term svg size 800,600 background "#FFFFFF"
79

8-
plot filename using 1:2 with lines lc rgb "#A000DD00" title 'Message validation',\
9-
filename using 1:3 with lines lc rgb "#A00000DD" title 'RBC delivery',\
10-
filename using 1:4 with lines lc rgb "#A0DD0000" title 'Sailfish commit',\
11-
filename using 1:5 with lines lc rgb "#A000DDDD" title 'Decrypt',\
12-
filename using 1:6 with lines lc rgb "#A0DD00DD" title 'Certify', \
13-
filename using 1:7 with lines lc rgb "#A0000000" title 'Sailfish commit ⟶ Certify'
10+
plot filename using 1:2 with lines lc rgb "#A000DD00" title 'Round start',\
11+
filename using 1:3 with lines lc rgb "#A0DDDD00" title 'RBC leader info',\
12+
filename using 1:4 with lines lc rgb "#A00000DD" title 'Commit',\
13+
filename using 1:5 with lines lc rgb "#A0DD0000" title 'Decrypt',\
14+
filename using 1:6 with lines lc rgb "#A000DDDD" title 'Certify',\
15+
filename using 1:7 with lines lc rgb "#A0DD00DD" title 'Total'

0 commit comments

Comments
 (0)