mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: fix (#14456)
This commit is contained in:
@ -72,7 +72,7 @@ impl<T: PayloadTypes> Stream for BuiltPayloadStream<T> {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
Some(Err(err)) => {
|
Some(Err(err)) => {
|
||||||
debug!(%err, "payload event stream stream lagging behind");
|
debug!(%err, "payload event stream lagging behind");
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
None => Poll::Ready(None),
|
None => Poll::Ready(None),
|
||||||
|
|||||||
@ -27,7 +27,7 @@ pub trait BuiltPayload: Send + Sync + fmt::Debug {
|
|||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the EIP-7865 requests for the payload if any.
|
/// Returns the EIP-7685 requests for the payload if any.
|
||||||
fn requests(&self) -> Option<Requests>;
|
fn requests(&self) -> Option<Requests>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -48,7 +48,7 @@ impl<ChainSpec: EthereumHardforks> ExecutionPayloadValidator<ChainSpec> {
|
|||||||
self.chain_spec().is_shanghai_active_at_timestamp(timestamp)
|
self.chain_spec().is_shanghai_active_at_timestamp(timestamp)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns true if the Prague harkdfork is active at the given timestamp.
|
/// Returns true if the Prague hardfork is active at the given timestamp.
|
||||||
#[inline]
|
#[inline]
|
||||||
fn is_prague_active_at_timestamp(&self, timestamp: u64) -> bool {
|
fn is_prague_active_at_timestamp(&self, timestamp: u64) -> bool {
|
||||||
self.chain_spec().is_prague_active_at_timestamp(timestamp)
|
self.chain_spec().is_prague_active_at_timestamp(timestamp)
|
||||||
|
|||||||
Reference in New Issue
Block a user