add back in 4844 tx consistencycheck during payload reconstruction
This commit is contained in:
parent
f22aac1603
commit
38db8d7952
@ -1026,8 +1026,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
//FIXME(sean) avoid the clone by comparing refs to headers (`as_execution_payload_header` method ?)
|
||||
let full_payload: FullPayload<T::EthSpec> = execution_payload.clone().into();
|
||||
|
||||
//FIXME(sean) we're not decoding blobs txs correctly yet
|
||||
if !matches!(execution_payload, ExecutionPayload::Eip4844(_)) {
|
||||
// Verify payload integrity.
|
||||
let header_from_payload = full_payload.to_execution_payload_header();
|
||||
if header_from_payload != execution_payload_header {
|
||||
@ -1048,7 +1046,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
reconstructed_transactions_root: header_from_payload.transactions_root(),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Add the payload to the block to form a full block.
|
||||
blinded_block
|
||||
|
Loading…
Reference in New Issue
Block a user