primitives: rm useless OP_ constants (#12298)

This commit is contained in:
Thomas Coratger
2024-11-04 09:18:13 +01:00
committed by GitHub
parent bb03578eed
commit 9814041603

View File

@ -1,6 +1,6 @@
//! Ethereum protocol-related constants
use alloy_primitives::{address, b256, Address, B256};
use alloy_primitives::{b256, B256};
/// Gas units, for example [`GIGAGAS`].
pub mod gas_units;
@ -16,12 +16,6 @@ pub const MINIMUM_GAS_LIMIT: u64 = 5000;
pub const HOLESKY_GENESIS_HASH: B256 =
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.
///
/// In reality, the node can end up in this particular situation very rarely. It would happen only