Skip to content

Commit

Permalink
node: Apply new msg IDs. Pass committee size to verify_step_votes.
Browse files Browse the repository at this point in the history
  • Loading branch information
goshawk committed Oct 23, 2023
1 parent 6c54f9e commit 2ab1822
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ use self::fsm::SimpleFSM;
const TOPICS: &[u8] = &[
Topics::Block as u8,
Topics::NewBlock as u8,
Topics::Reduction as u8,
Topics::FirstReduction as u8,
Topics::SecondReduction as u8,
Topics::AggrAgreement as u8,
Topics::Agreement as u8,
];
Expand Down
3 changes: 3 additions & 0 deletions node/src/chain/acceptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ use tokio::sync::{oneshot, Mutex, RwLock};
use tokio::task::JoinHandle;
use tracing::{error, info, warn};

use dusk_consensus::config;
use std::any;

use super::consensus::Task;
Expand Down Expand Up @@ -454,6 +455,7 @@ async fn verify_block_cert(
curr_seed,
&hdr,
0,
config::FIRST_REDUCTION_COMMITTEE_SIZE,
)
.await
{
Expand All @@ -467,6 +469,7 @@ async fn verify_block_cert(
curr_seed,
&hdr,
1,
config::SECOND_REDUCTION_COMMITTEE_SIZE,
)
.await
{
Expand Down

0 comments on commit 2ab1822

Please sign in to comment.