From 0e66c5075b74777edb0e1c514e5572d639865755 Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Mon, 22 Jul 2024 14:00:54 -0700 Subject: [PATCH] update --- consensus/types/src/execution_block_header.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/consensus/types/src/execution_block_header.rs b/consensus/types/src/execution_block_header.rs index 53b70ca6d1..2e5a498214 100644 --- a/consensus/types/src/execution_block_header.rs +++ b/consensus/types/src/execution_block_header.rs @@ -150,15 +150,14 @@ impl<'a> From<&'a ExecutionBlockHeader> for EncodableExecutionBlockHeader<'a> { } } - // TODO(alloy) this shim can be removed once we fully migrate // from ethereum types to alloy primitives struct U256Shim(Uint256); -impl From for alloy_primitives::U256 { +impl From for alloy_primitives::U256 { fn from(value: U256Shim) -> Self { let mut buffer: [u8; 32] = [0; 32]; value.0.to_little_endian(&mut buffer); Self::from_le_slice(&buffer) } -} \ No newline at end of file +}