mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add Receipt AT to writer traits (#12892)
This commit is contained in:
@ -79,8 +79,8 @@ where
|
||||
Storage: ChainStorage<Self::Primitives>,
|
||||
Primitives: FullNodePrimitives<
|
||||
SignedTx: Value,
|
||||
Receipt: Value,
|
||||
BlockHeader = alloy_consensus::Header,
|
||||
Receipt = reth_primitives::Receipt,
|
||||
>,
|
||||
>,
|
||||
{
|
||||
@ -92,8 +92,8 @@ impl<T> NodeTypesForProvider for T where
|
||||
Storage: ChainStorage<T::Primitives>,
|
||||
Primitives: FullNodePrimitives<
|
||||
SignedTx: Value,
|
||||
Receipt: Value,
|
||||
BlockHeader = alloy_consensus::Header,
|
||||
Receipt = reth_primitives::Receipt,
|
||||
>,
|
||||
>
|
||||
{
|
||||
@ -541,7 +541,7 @@ impl<N: ProviderNodeTypes> ReceiptProvider for BlockchainProvider<N> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<N: ProviderNodeTypes> ReceiptProviderIdExt for BlockchainProvider<N> {
|
||||
impl<N: TreeNodeTypes> ReceiptProviderIdExt for BlockchainProvider<N> {
|
||||
fn receipts_by_block_id(&self, block: BlockId) -> ProviderResult<Option<Vec<Receipt>>> {
|
||||
match block {
|
||||
BlockId::Hash(rpc_block_hash) => {
|
||||
|
||||
Reference in New Issue
Block a user