mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-22 22:34:45 +00:00
Capella eip 4844 cleanup (#3652)
* add capella gossip boiler plate * get everything compiling Co-authored-by: realbigsean <sean@sigmaprime.io Co-authored-by: Mark Mackey <mark@sigmaprime.io> * small cleanup * small cleanup * cargo fix + some test cleanup * improve block production * add fixme for potential panic Co-authored-by: Mark Mackey <mark@sigmaprime.io>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use crate::local_network::LocalNetwork;
|
||||
use node_test_rig::eth2::types::{BlockId, StateId};
|
||||
use std::time::Duration;
|
||||
use types::{Epoch, EthSpec, ExecutionBlockHash, Hash256, Slot, Unsigned};
|
||||
use types::{Epoch, EthSpec, ExecPayload, ExecutionBlockHash, Hash256, Slot, Unsigned};
|
||||
|
||||
/// Checks that all of the validators have on-boarded by the start of the second eth1 voting
|
||||
/// period.
|
||||
@@ -228,7 +228,7 @@ pub async fn verify_transition_block_finalized<E: EthSpec>(
|
||||
.map_err(|e| format!("Get state root via http failed: {:?}", e))?
|
||||
.message()
|
||||
.execution_payload()
|
||||
.map(|payload| payload.execution_payload.block_hash)
|
||||
.map(|payload| payload.block_hash())
|
||||
.map_err(|e| format!("Execution payload does not exist: {:?}", e))?;
|
||||
block_hashes.push(execution_block_hash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user