mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 00:58:11 -05:00
chore: add EthVersion::LATEST constant (#1479)
This commit is contained in:
@@ -24,6 +24,9 @@ pub enum EthVersion {
|
||||
}
|
||||
|
||||
impl EthVersion {
|
||||
/// The latest known eth version
|
||||
pub const LATEST: EthVersion = EthVersion::Eth68;
|
||||
|
||||
/// Returns the total number of messages the protocol version supports.
|
||||
pub fn total_messages(&self) -> u8 {
|
||||
match self {
|
||||
|
||||
Reference in New Issue
Block a user