Sync protocol implemented incorrectly when deciding if the update contains the next sync committee #370
Labels
audit
bug
Something isn't working
ethereum-light-client
Issues related to the 08-wasm ethereum light client
Summary of Bug
Internal audit item: The sync-protocol implementation when determining whether an update contains a next sync committee is incorrect.
Expected Behaviour
Here is our code snippet:
solidity-ibc-eureka/packages/ethereum/ethereum-light-client/src/verify.rs
Lines 253 to 275 in 08c77b9
And here is the sync protocol specs:
https://github.com/ethereum/consensus-specs/blob/36d80adb44c21c66379c6207a9578f9b1dcc8a2d/specs/altair/light-client/sync-protocol.md?plain=1#L419-L429
Our implementation misses the case where:
Version
main
For Admin Use
The text was updated successfully, but these errors were encountered: