erigon-pulse/cmd/lightclient/sentinel/communication/ssz_snappy
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
..
gossip.go Tests for lightclient/sentinel (#5772) 2022-10-20 15:41:28 +02:00
stream_test.go Test req/resp domain response decoding (#5886) 2022-10-29 13:02:26 +02:00
stream.go Test req/resp domain response decoding (#5886) 2022-10-29 13:02:26 +02:00