mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm useless OP_ constants (#12298)
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
//! Ethereum protocol-related constants
|
//! Ethereum protocol-related constants
|
||||||
|
|
||||||
use alloy_primitives::{address, b256, Address, B256};
|
use alloy_primitives::{b256, B256};
|
||||||
|
|
||||||
/// Gas units, for example [`GIGAGAS`].
|
/// Gas units, for example [`GIGAGAS`].
|
||||||
pub mod gas_units;
|
pub mod gas_units;
|
||||||
@ -16,12 +16,6 @@ pub const MINIMUM_GAS_LIMIT: u64 = 5000;
|
|||||||
pub const HOLESKY_GENESIS_HASH: B256 =
|
pub const HOLESKY_GENESIS_HASH: B256 =
|
||||||
b256!("b5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4");
|
b256!("b5f7f912443c940f21fd611f12828d75b534364ed9e95ca4e307729a4661bde4");
|
||||||
|
|
||||||
/// From address from Optimism system txs: `0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001`
|
|
||||||
pub const OP_SYSTEM_TX_FROM_ADDR: Address = address!("deaddeaddeaddeaddeaddeaddeaddeaddead0001");
|
|
||||||
|
|
||||||
/// To address from Optimism system txs: `0x4200000000000000000000000000000000000015`
|
|
||||||
pub const OP_SYSTEM_TX_TO_ADDR: Address = address!("4200000000000000000000000000000000000015");
|
|
||||||
|
|
||||||
/// The number of blocks to unwind during a reorg that already became a part of canonical chain.
|
/// The number of blocks to unwind during a reorg that already became a part of canonical chain.
|
||||||
///
|
///
|
||||||
/// In reality, the node can end up in this particular situation very rarely. It would happen only
|
/// In reality, the node can end up in this particular situation very rarely. It would happen only
|
||||||
|
|||||||
Reference in New Issue
Block a user