From 3805968cf6c1d88fa40ca10a37e9bba00c05faf3 Mon Sep 17 00:00:00 2001 From: 0xaatif Date: Thu, 16 May 2024 04:17:12 +0800 Subject: [PATCH] docs wibble --- leader/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/leader/src/lib.rs b/leader/src/lib.rs index 92e95fc..4e2438e 100644 --- a/leader/src/lib.rs +++ b/leader/src/lib.rs @@ -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};