feat: support no_std for reth-primitives (#8817)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
0xAtreides
2024-06-17 07:57:46 +01:00
committed by GitHub
parent ce0559d6c7
commit 8d54f2f8d3
28 changed files with 104 additions and 39 deletions

View File

@ -8,6 +8,9 @@ use reth_trie_common::root::{ordered_trie_root, ordered_trie_root_with_encoder};
use alloy_eips::eip7685::Encodable7685;
#[cfg(not(feature = "std"))]
use alloc::vec::Vec;
/// Calculate a transaction root.
///
/// `(rlp(index), encoded(tx))` pairs.