mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(hardfork): add hardfork upgrade url (#7184)
Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -20,50 +20,51 @@ pub enum ConsensusType {
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq, PartialOrd, Ord, Hash)]
|
||||
#[non_exhaustive]
|
||||
pub enum Hardfork {
|
||||
/// Frontier.
|
||||
/// Frontier: <https://blog.ethereum.org/2015/03/03/ethereum-launch-process>.
|
||||
Frontier,
|
||||
/// Homestead.
|
||||
/// Homestead: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/homestead.md>.
|
||||
Homestead,
|
||||
/// The DAO fork.
|
||||
/// The DAO fork: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/dao-fork.md>.
|
||||
Dao,
|
||||
/// Tangerine.
|
||||
/// Tangerine: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/tangerine-whistle.md>.
|
||||
Tangerine,
|
||||
/// Spurious Dragon.
|
||||
/// Spurious Dragon: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md>.
|
||||
SpuriousDragon,
|
||||
/// Byzantium.
|
||||
/// Byzantium: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/byzantium.md>.
|
||||
Byzantium,
|
||||
/// Constantinople.
|
||||
/// Constantinople: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/constantinople.md>.
|
||||
Constantinople,
|
||||
/// Petersburg.
|
||||
/// Petersburg: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/petersburg.md>.
|
||||
Petersburg,
|
||||
/// Istanbul.
|
||||
/// Istanbul: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/istanbul.md>.
|
||||
Istanbul,
|
||||
/// Muir Glacier.
|
||||
/// Muir Glacier: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/muir-glacier.md>.
|
||||
MuirGlacier,
|
||||
/// Berlin.
|
||||
/// Berlin: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/berlin.md>.
|
||||
Berlin,
|
||||
/// London.
|
||||
/// London: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md>.
|
||||
London,
|
||||
/// Arrow Glacier.
|
||||
/// Arrow Glacier: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md>.
|
||||
ArrowGlacier,
|
||||
/// Gray Glacier.
|
||||
/// Gray Glacier: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md>.
|
||||
GrayGlacier,
|
||||
/// Paris.
|
||||
/// Paris: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md>.
|
||||
Paris,
|
||||
/// Bedrock.
|
||||
/// Bedrock: <https://blog.oplabs.co/introducing-optimism-bedrock>.
|
||||
#[cfg(feature = "optimism")]
|
||||
Bedrock,
|
||||
/// Regolith
|
||||
/// Regolith: <https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/superchain-upgrades.md#regolith>.
|
||||
#[cfg(feature = "optimism")]
|
||||
Regolith,
|
||||
/// Shanghai.
|
||||
/// Shanghai: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md>.
|
||||
Shanghai,
|
||||
/// Canyon
|
||||
/// Canyon:
|
||||
/// <https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/superchain-upgrades.md#canyon>.
|
||||
#[cfg(feature = "optimism")]
|
||||
Canyon,
|
||||
/// Cancun.
|
||||
/// Cancun: <https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md>.
|
||||
Cancun,
|
||||
/// Ecotone
|
||||
/// Ecotone: <https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/superchain-upgrades.md#ecotone>.
|
||||
#[cfg(feature = "optimism")]
|
||||
Ecotone,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user