ethereum / trin

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

feat(beacon): add full validation for light client updates #1441

Closed ogenev closed 2 months ago

ogenev commented 2 months ago

What was wrong?

Fixes #1406

This PR adds full light client content validation for LightlClientUpdate, LightClientOptimisticUpdate, and LightClientFinalityUpdate content on a protocol level. (before storing and gossiping the content to peers).

How was it fixed?

To-Do