enable 4844 at epoch 3

This commit is contained in:
Marius van der Wijden
2022-09-18 12:13:03 +02:00
parent 257087b010
commit 6f7d21c542
3 changed files with 14 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ impl<T: BeaconChainTypes> ToStatusMessage for BeaconChain<T> {
/// Build a `StatusMessage` representing the state of the given `beacon_chain`.
pub(crate) fn status_message<T: BeaconChainTypes>(beacon_chain: &BeaconChain<T>) -> StatusMessage {
let fork_digest = [0x9c, 0x67, 0x11, 0x28];
let fork_digest = beacon_chain.enr_fork_id().fork_digest;
let cached_head = beacon_chain.canonical_head.cached_head();
let mut finalized_checkpoint = cached_head.finalized_checkpoint();