Skip to content

[Feature] Introduce Block type in alloy-consensus #1290

@mattsse

Description

@mattsse

Component

consensus, eips, genesis

Describe the feature you would like

currently we don't have a block type in the consensus crate

ref

https://github.com/paradigmxyz/reth/blob/97cc9dd8ecaaf7ebfa0b401ed080da28dc791376/crates/primitives/src/block.rs#L28-L48

this type should be structured slightly differently, so that there's a body container struct that wraps transactions, requests, withdrawals

which is this type

https://github.com/paradigmxyz/reth/blob/97cc9dd8ecaaf7ebfa0b401ed080da28dc791376/crates/primitives/src/block.rs#L557-L566

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions