erigon-pulse/cmd/lightclient/sentinel/communication
Mike Neuder dab1ba44d0
Test req/resp domain response decoding (#5886)
https://github.com/ledgerwatch/erigon/issues/5884 has more context on
this issue. we are trying to understand the encoding of the responses.

from the Ethereum R&D discord, AgeManning said that the prefix is
supposed to be a varint representing the length of the payload:
https://developers.google.com/protocol-buffers/docs/encoding#varints.

that works for the `&cltypes.MetadataV1{}` type, but not for
`&cltypes.MetadataV2{}` or `&cltypes.LightClientFinalityUpdate{}`.
2022-10-29 13:02:26 +02:00
..
ssz_snappy Test req/resp domain response decoding (#5886) 2022-10-29 13:02:26 +02:00
packet.go Added Finalty/Optimistic requests (#5688) 2022-10-10 15:58:31 +02:00