Hi, I think there’s a typo in the BinSpec. 0x3a is given as 29 whereas its actually 58 in decimal.
I believe this is also causing the tester to error out since the first record is expected to be 29 bytes long, but the test case uses 0x3a (58) instead.
Follow up: It seems like this is also the case for the value length parameter which is 0x2e and which should evaluate to 46 but according to BinSpec and the tester it evaluates to 23.
This shows that these length values are halved for some reason. Is there something wrong with my interpretation of it or is this a mistake?
Nevermind, I was assuming these values for always 1 byte but they’re actually VarInt or VarLong and have to be decoded using “Zig-Zag” decoding as outlined in the Wire Protocol.