Skip to content

Commit

Permalink
primitives: rm useless OP_ constants (#12298)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger authored Nov 4, 2024
1 parent bb03578 commit 9814041
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions crates/primitives-traits/src/constants/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 9814041

Please sign in to comment.