merge with unstable fixes

This commit is contained in:
realbigsean
2022-11-01 13:26:56 -04:00
parent 8656d23327
commit d8a49aad2b
5 changed files with 7 additions and 17 deletions

View File

@@ -1,8 +1,8 @@
use std::marker::PhantomData;
use tree_hash::TreeHash;
use types::{
BeaconState, BeaconStateError, ChainSpec, EthSpec, ExecPayload, Hash256, SignedBeaconBlock,
Slot,
AbstractExecPayload, BeaconState, BeaconStateError, ChainSpec, EthSpec, ExecPayload, Hash256,
SignedBeaconBlock, Slot,
};
#[derive(Debug)]
@@ -64,7 +64,7 @@ impl<T: EthSpec> ConsensusContext<T> {
self
}
pub fn get_current_block_root<Payload: ExecPayload<T>>(
pub fn get_current_block_root<Payload: AbstractExecPayload<T>>(
&mut self,
block: &SignedBeaconBlock<T, Payload>,
) -> Result<Hash256, ContextError> {