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

insert committee when handling checkpoint from consensus #12324

Merged
merged 2 commits into from
Jun 3, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
add a TODO
  • Loading branch information
longbowlu committed Jun 3, 2023
commit 80f3ba36848f6bcc5ed4b97fb49fd41e83eacac5
2 changes: 2 additions & 0 deletions crates/sui-network/src/state_sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ where
// new committee is in store before we verify newer checkpoints in next epoch.
// This could happen before this validator's reconfiguration finishes, because
// state sync does not reconfig.
// TODO: make CheckpointAggregator use WriteStore so we don't need to do this
// committee insertion in two places (only in `insert_checkpoint`).
if let Some(EndOfEpochData {
longbowlu marked this conversation as resolved.
Show resolved Hide resolved
next_epoch_committee,
..
Expand Down