#[repr(u8)]pub enum SpecId {
Show 20 variants
FRONTIER = 0,
FRONTIER_THAWING = 1,
HOMESTEAD = 2,
DAO_FORK = 3,
TANGERINE = 4,
SPURIOUS_DRAGON = 5,
BYZANTIUM = 6,
CONSTANTINOPLE = 7,
PETERSBURG = 8,
ISTANBUL = 9,
MUIR_GLACIER = 10,
BERLIN = 11,
LONDON = 12,
ARROW_GLACIER = 13,
GRAY_GLACIER = 14,
MERGE = 15,
SHANGHAI = 16,
CANCUN = 17,
PRAGUE = 18,
OSAKA = 19,
}
Expand description
Specification IDs and their activation block
Information was obtained from the Ethereum Execution Specifications.
Variants§
FRONTIER = 0
Frontier hard fork Activated at block 0
FRONTIER_THAWING = 1
Frontier Thawing hard fork Activated at block 200000
HOMESTEAD = 2
Homestead hard fork Activated at block 1150000
DAO_FORK = 3
DAO Fork hard fork Activated at block 1920000
TANGERINE = 4
Tangerine Whistle hard fork Activated at block 2463000
SPURIOUS_DRAGON = 5
Spurious Dragon hard fork Activated at block 2675000
BYZANTIUM = 6
Byzantium hard fork Activated at block 4370000
CONSTANTINOPLE = 7
Constantinople hard fork Activated at block 7280000 is overwritten with PETERSBURG
PETERSBURG = 8
Petersburg hard fork Activated at block 7280000
ISTANBUL = 9
Istanbul hard fork Activated at block 9069000
MUIR_GLACIER = 10
Muir Glacier hard fork Activated at block 9200000
BERLIN = 11
Berlin hard fork Activated at block 12244000
LONDON = 12
London hard fork Activated at block 12965000
ARROW_GLACIER = 13
Arrow Glacier hard fork Activated at block 13773000
GRAY_GLACIER = 14
Gray Glacier hard fork Activated at block 15050000
MERGE = 15
Paris/Merge hard fork Activated at block 15537394 (TTD: 58750000000000000000000)
SHANGHAI = 16
Shanghai hard fork Activated at block 17034870 (Timestamp: 1681338455)
CANCUN = 17
Cancun hard fork Activated at block 19426587 (Timestamp: 1710338135)
PRAGUE = 18
Prague hard fork Activated at block TBD
OSAKA = 19
Osaka hard fork Activated at block TBD
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpecId
impl<'de> Deserialize<'de> for SpecId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Ord for SpecId
impl Ord for SpecId
Source§impl PartialOrd for SpecId
impl PartialOrd for SpecId
Source§impl TryFromPrimitive for SpecId
impl TryFromPrimitive for SpecId
impl Copy for SpecId
impl Eq for SpecId
impl StructuralPartialEq for SpecId
Auto Trait Implementations§
impl Freeze for SpecId
impl RefUnwindSafe for SpecId
impl Send for SpecId
impl Sync for SpecId
impl Unpin for SpecId
impl UnwindSafe for SpecId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.