#[repr(u8)]pub enum SpecId {
Show 21 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,
LATEST = 255,
}
Expand description
Specification IDs and their activation block
Information was obtained from the Ethereum Execution Specifications.
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
LATEST = 255
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for SpecId
impl Ord for SpecId
Source§impl PartialOrd for SpecId
impl PartialOrd 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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
Checks if this value is equivalent to the given key. Read more