mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: implement conversion of optimism deposit tx from alloy to reth (#8763)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
//! Ethereum protocol-related constants
|
||||
|
||||
use alloy_primitives::{b256, B256, U256};
|
||||
use alloy_primitives::{address, b256, Address, B256, U256};
|
||||
use core::time::Duration;
|
||||
|
||||
/// The client version: `reth/v{major}.{minor}.{patch}`
|
||||
@ -131,6 +131,9 @@ pub const EMPTY_OMMER_ROOT_HASH: B256 =
|
||||
pub const EMPTY_ROOT_HASH: B256 =
|
||||
b256!("56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421");
|
||||
|
||||
/// From address from Optimism system txs: `0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001`
|
||||
pub const OP_SYSTEM_TX_FROM_ADDR: Address = address!("deaddeaddeaddeaddeaddeaddeaddeaddead0001");
|
||||
|
||||
/// Transactions root of empty receipts set.
|
||||
pub const EMPTY_RECEIPTS: B256 = EMPTY_ROOT_HASH;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user