ethereum / trin

An Ethereum portal client: a json-rpc server with nearly instant sync, and low CPU & storage usage
365 stars 113 forks source link

beacon-network: Validate `HistoricalSummariesWithProof` against the synced state root #1323

Closed ogenev closed 1 month ago

ogenev commented 3 months ago

Add validation for HistoricalSummariesWithProof against the last known state root: https://github.com/ethereum/trin/blob/284f98a8ad271d9f6b0eafc88309057bb81f48bb/trin-beacon/src/validation.rs#L160.