Skip to content

Commit 306ee28

Browse files
committed
Merge branch 'rpc-block-avail-varaint' of https://github.com/eserilev/lighthouse into rpc-block-avail-varaint
2 parents 9a4c5b1 + e0698a3 commit 306ee28

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

beacon_node/beacon_chain/src/block_verification_types.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ use types::{
2121
/// verification. i.e. this block has all the required data to get verified and imported into fork choice.
2222
///
2323
/// 2. `BlockOnly`: This is a post-deneb block that may or may not require blobs to be considered fully available.
24-
///
25-
/// Note: We make a distinction over blocks received over gossip because
26-
/// in a post-deneb world, the blobs corresponding to a given block that are received
27-
/// over rpc do not contain the proposer signature for dos resistance.
2824
#[derive(Clone, Educe)]
2925
#[educe(Hash(bound(E: EthSpec)))]
3026
pub enum RpcBlock<E: EthSpec> {

beacon_node/beacon_chain/src/data_availability_checker/error.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pub enum Error {
2222
BlockReplayError(state_processing::BlockReplayError),
2323
RebuildingStateCaches(BeaconStateError),
2424
SlotClockError,
25-
InvalidFork,
2625
InvalidAvailableBlockData,
2726
}
2827

@@ -47,7 +46,6 @@ impl Error {
4746
| Error::BlockReplayError(_)
4847
| Error::RebuildingStateCaches(_)
4948
| Error::SlotClockError
50-
| Error::InvalidFork
5149
| Error::InvalidAvailableBlockData => ErrorCategory::Internal,
5250
Error::InvalidBlobs { .. }
5351
| Error::InvalidColumn { .. }

0 commit comments

Comments
 (0)