Skip to content

Commit 2a38c63

Browse files
authored
Qbft new messages (#111)
1 parent 913e657 commit 2a38c63

File tree

19 files changed

+1888
-850
lines changed

19 files changed

+1888
-850
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ qbft = { path = "anchor/common/qbft" }
3737
qbft_manager = { path = "anchor/qbft_manager" }
3838
signature_collector = { path = "anchor/signature_collector" }
3939
ssv_types = { path = "anchor/common/ssv_types" }
40-
version = { path = "anchor/common/version" }
4140

4241
beacon_node_fallback = { git = "https://github.com/sigp/lighthouse", rev = "1a77f7a0" }
4342
bls = { git = "https://github.com/sigp/lighthouse", rev = "1a77f7a0" }
@@ -81,6 +80,9 @@ dashmap = "6.1.0"
8180
derive_more = { version = "1.0.0", features = ["full"] }
8281
dirs = "5.0.1"
8382
discv5 = "0.9.0"
83+
either = "1.13.0"
84+
ethereum_ssz = "0.7"
85+
ethereum_ssz_derive = "0.7.0"
8486
futures = "0.3.30"
8587
hex = "0.4.3"
8688
hyper = "1.4"
@@ -92,6 +94,7 @@ rand = "0.8.5"
9294
reqwest = "0.12.12"
9395
rusqlite = "0.28.0"
9496
serde = { version = "1.0.208", features = ["derive"] }
97+
sha2 = "0.10.8"
9598
strum = { version = "0.24", features = ["derive"] }
9699
tokio = { version = "1.39.2", features = [
97100
"rt",
@@ -105,6 +108,7 @@ tracing = "0.1.40"
105108
tracing-subscriber = { version = "0.3.18", features = ["fmt", "env-filter"] }
106109
tree_hash = "0.8"
107110
tree_hash_derive = "0.8"
111+
version = { path = "anchor/common/version" }
108112
vsss-rs = "5.1.0"
109113
zeroize = "1.8.1"
110114

anchor/common/qbft/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ edition = { workspace = true }
66

77
[dependencies]
88
derive_more = { workspace = true }
9+
ethereum_ssz = { workspace = true }
10+
ethereum_ssz_derive = { workspace = true }
911
indexmap = { workspace = true }
12+
sha2 = { workspace = true }
1013
ssv_types = { workspace = true }
1114
tracing = { workspace = true }
15+
types = { workspace = true }
1216

1317
[dev-dependencies]
1418
tracing-subscriber = { workspace = true }

anchor/common/qbft/src/config.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use super::error::ConfigBuilderError;
2-
use crate::types::{DefaultLeaderFunction, InstanceHeight, LeaderFunction, OperatorId, Round};
2+
use crate::qbft_types::{DefaultLeaderFunction, InstanceHeight, LeaderFunction, Round};
33
use indexmap::IndexSet;
4+
use ssv_types::OperatorId;
45
use std::fmt::Debug;
56
use std::time::Duration;
67

0 commit comments

Comments
 (0)