Skip to content

Commit

Permalink
docs wibble
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaatif committed May 15, 2024
1 parent 4883f3b commit 3805968
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions leader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,12 @@ fn create_fully_hashed_out_trie_from_hash(h: B256) -> HashedPartialTrie {
trie
}

/// There are two representations of domain objects in ethereum:
/// - RPC (JSON), in [`alloy::rpc`].
/// - RLP (binary), in [`alloy::consensus`].
///
/// This module provides best-effort [RLP encoding](alloy::rlp::Encodable) for
/// RPC types.
pub mod rlp {
use alloy::consensus::{Receipt, ReceiptEnvelope, TxEip1559, TxEip2930, TxEip4844, TxLegacy};
use alloy::rpc::types::eth::{ReceiptWithBloom, TransactionReceipt};
Expand Down

0 comments on commit 3805968

Please sign in to comment.