Skip to content

Commit

Permalink
add no std support
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Sep 2, 2024
1 parent f61c132 commit 8e9d2cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/storage/codecs/src/alloy/transaction/eip7702.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ use alloy_primitives::{Bytes, ChainId, TxKind, U256};
use reth_codecs_derive::add_arbitrary_tests;
use serde::{Deserialize, Serialize};

#[cfg(not(feature = "std"))]
use alloc::vec::Vec;

/// [EIP-7702 Set Code Transaction](https://eips.ethereum.org/EIPS/eip-7702)
///
/// This is a helper type to use derive on it instead of manually managing `bitfield`.
Expand Down

0 comments on commit 8e9d2cc

Please sign in to comment.