Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message sending for Signature Collector #159

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions anchor/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ impl Client {
.full
.to_string(),
beacon_url: "".to_string(), // this one is not actually needed :)
network: config.ssv_network,
network: config.ssv_network.clone(),
historic_finished_notify: Some(historic_finished_tx),
},
)
Expand Down Expand Up @@ -369,6 +369,8 @@ impl Client {
// Create the signature collector
let signature_collector = SignatureCollectorManager::new(
processor_senders.clone(),
operator_id,
config.ssv_network.ssv_domain_type.clone(),
network_message_sender.clone(),
slot_clock.clone(),
)
Expand All @@ -391,7 +393,6 @@ impl Client {
slot_clock.clone(),
spec.clone(),
genesis_validators_root,
operator_id,
key,
executor.clone(),
);
Expand Down
6 changes: 0 additions & 6 deletions anchor/network/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,7 @@ impl Network {
log_address.push(Protocol::P2p(peer_id));
info!(address = %log_address, "Listening established");
}
/*
TODO
- Dial peers
- Subscribe gossip topics
*/

// TODO: Return channels for input/output
Ok(network)
}

Expand Down
1 change: 1 addition & 0 deletions anchor/signature_collector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ authors = ["Sigma Prime <[email protected]>"]
[dependencies]
bls_lagrange = { workspace = true }
dashmap = { workspace = true }
ethereum_ssz = { workspace = true }
message_sender = { workspace = true }
processor = { workspace = true }
slot_clock = { workspace = true }
Expand Down
Loading
Loading