mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
feat(op): nonce replay (#7781)
This commit is contained in:
@@ -79,6 +79,11 @@ impl StageId {
|
||||
matches!(self, StageId::Headers | StageId::Bodies)
|
||||
}
|
||||
|
||||
/// Returns `true` if it's [TransactionLookup](StageId::TransactionLookup) stage.
|
||||
pub fn is_tx_lookup(&self) -> bool {
|
||||
matches!(self, StageId::TransactionLookup)
|
||||
}
|
||||
|
||||
/// Returns true indicating if it's the finish stage [StageId::Finish]
|
||||
pub fn is_finish(&self) -> bool {
|
||||
matches!(self, StageId::Finish)
|
||||
|
||||
Reference in New Issue
Block a user