Skip to content

Commit

Permalink
Update consensus/state_processing/src/per_epoch_processing/justificat…
Browse files Browse the repository at this point in the history
…ion_and_finalization_state.rs

Co-authored-by: Paul Hauner <[email protected]>
  • Loading branch information
realbigsean and paulhauner authored Jul 13, 2022
1 parent 5e512f7 commit 8fbb9e7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
use types::{BeaconState, BeaconStateError, BitVector, Checkpoint, Epoch, EthSpec, Hash256};

/// This is a subset of the `BeaconState` which is used to compute justification and finality
/// without modifying the `BeaconState`.
///
/// A `JustificationAndFinalizationState` can be created from a `BeaconState` to compute
/// justification/finality changes and then applied to a `BeaconState` to enshrine those changes.
#[must_use = "this value must be applied to a state or explicitly dropped"]
pub struct JustificationAndFinalizationState<T: EthSpec> {
/*
Expand Down

0 comments on commit 8fbb9e7

Please sign in to comment.