Skip to content

Cast command to convert beacon block to execution block #11603

@shekhirin

Description

@shekhirin

Component

Cast

Describe the feature you would like

beaconcha.in allows to download reorged beacon blocks that are often used to debug reorg-related issues on execution clients.

For example, see https://light-mainnet.beaconcha.in/slot/0x6ceadbf2a6adbbd64cbec33fdebbc582f25171cd30ac43f641cbe76ac7313ddf ("Download" icon on the right -> Signed Beacon Block -> Download as JSON).

There's a bunch of differences between consensus and execution client block formats, such as camel/snake case, names of the fields, maybe some missing fields.

We need to create a cast command that accepts beacon block JSON, and converts it to JSON RPC -like execution block JSON.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions