This commit is contained in:
realbigsean
2022-10-04 09:34:05 -04:00
parent c0dc42ea07
commit ba16a037a3
16 changed files with 30 additions and 39 deletions

View File

@@ -410,7 +410,7 @@ fn context_bytes<T: EthSpec>(
// NOTE: If you are adding another fork type here, be sure to modify the
// `fork_context.to_context_bytes()` function to support it as well!
SignedBeaconBlock::Eip4844 { .. } => {
// Merge context being `None` implies that "merge never happened".
// Eip4844 context being `None` implies that "merge never happened".
fork_context.to_context_bytes(ForkName::Eip4844)
}
SignedBeaconBlock::Merge { .. } => {

View File

@@ -475,7 +475,7 @@ impl<TSpec: EthSpec> InboundRequest<TSpec> {
ProtocolId::new(Protocol::BlocksByRoot, Version::V1, Encoding::SSZSnappy),
],
InboundRequest::BlobsByRange(_) => vec![ProtocolId::new(
Protocol::BlocksByRoot,
Protocol::BlobsByRange,
Version::V1,
Encoding::SSZSnappy,
)],

View File

@@ -100,7 +100,7 @@ pub struct RPCRateLimiterBuilder {
bbrange_quota: Option<Quota>,
/// Quota for the BlocksByRoot protocol.
bbroots_quota: Option<Quota>,
/// Quota for the BlocksByRange protocol.
/// Quota for the BlobsByRange protocol.
blbrange_quota: Option<Quota>,
}