Skip to content

Add beacon state methods in the RPC protocol #36

@ajoydas

Description

@ajoydas

Is your feature request related to a problem? Please describe.
Currently in Hobbits, there is no way to get the beacon states from the connected peers. We need the beacon state information in the syncing process for storing the LatestStateRoot, FinalizedStateRoot and JustifiedStateRoot. This is how lodestar uses the beacon state info in the initial syncing process.

Describe the solution you'd like
Add 2 methods in the RPC protocol like Get_Beacon_States

{
    'hashes' : '[]bytes32' 
}

and Beacon_States

{
    'states' : '[]BeaconState`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions