RLP encoding of 0 (zero) as 0x80 #4284
Labels
mainnet
snack
Smaller coding task - less than a day for an experienced dev
TeamRevenant
GH issues worked on by Revenant Team
Description
I have created a PR to fix a problem with Nethermind clients (#4283), where Besu cannot decode the Hello message sent by Nethermind because it contains a capability for the witness protocol with version 0. This 0 was encoded 0x80, which is the encoding for a zero length string but in this case needs to be interpreted as the integer value 0.
I learned that this is (probably) the right way to encode the value 0.
The following should be done:
The text was updated successfully, but these errors were encountered: