cargo fix and some test fixes

This commit is contained in:
realbigsean
2022-04-05 17:02:54 -04:00
parent fe6fc55449
commit 7520651515
12 changed files with 33 additions and 25 deletions

View File

@@ -3622,7 +3622,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
}),
BeaconState::Capella(_) => {
let sync_aggregate = get_sync_aggregate()?;
let (execution_payload, blobs) =
let (execution_payload, _blobs) =
get_execution_payload_and_blobs(self, &state, proposer_index)?;
//FIXME(sean) get blobs
BeaconBlock::Capella(BeaconBlockCapella {

View File

@@ -520,9 +520,9 @@ pub async fn prepare_execution_payload_and_blobs<
T: BeaconChainTypes,
Payload: ExecPayload<T::EthSpec>,
>(
chain: &BeaconChain<T>,
state: &BeaconState<T::EthSpec>,
proposer_index: u64,
_chain: &BeaconChain<T>,
_state: &BeaconState<T::EthSpec>,
_proposer_index: u64,
) -> Result<
Option<(
Payload,