An Ethereum portal client: a json-rpc server with nearly instant sync, and low CPU & storage usage
347
stars
105
forks
source link
feat(beacon-network): add JSON-RPC endpoint to get the latest optimistic state root #1330
Closed
ogenev closed 1 day ago
What was wrong?
To be able to validate some of the beacon contents, we want to access the latest known beacon state root from the light client module.
Current design in
HeaderOracle
relies on JSON-RPC requests for accessing the data from the overlay networks.How was it fixed?
BeaconNetwork
objectportal_beaconOptimisticStateRoot
json-rpc endpointHere is a PR that proposes adding this endpoint to JSON-RPC specs: https://github.com/ethereum/portal-network-specs/pull/322
To-Do