Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
asonnino authored Jun 17, 2022
1 parent 54872d0 commit 50d7567
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions narwhal/dag/proptest-regressions/node_dag.txt

This file was deleted.

6 changes: 0 additions & 6 deletions narwhal/primary/src/tests/helper_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ async fn test_process_certificates_stream_mode() {
let (name, committee) = resolve_name_and_committee();
let (tx_primaries, rx_primaries) = channel(10);

println!("1");

// AND a helper
Helper::spawn(
name.clone(),
Expand All @@ -38,8 +36,6 @@ async fn test_process_certificates_stream_mode() {
rx_primaries,
);

println!("2");

// AND some mock certificates
let mut certificates = HashMap::new();
for _ in 0..5 {
Expand All @@ -48,8 +44,6 @@ async fn test_process_certificates_stream_mode() {
.build(&key)
.unwrap();

println!("3");

let certificate = certificate(&header);
let id = certificate.clone().digest();

Expand Down
2 changes: 1 addition & 1 deletion narwhal/types/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ pub enum DagError {
#[error("Message {0} (round {1}) too old")]
TooOld(Digest, Round),

#[error("Invalid epoch (expected {received}, received {received})")]
#[error("Invalid epoch (expected {expected}, received {received})")]
InvalidEpoch { expected: Epoch, received: Epoch },
}

0 comments on commit 50d7567

Please sign in to comment.