mirror of
https://github.com/luxfi/api.git
synced 2026-09-24 00:24:53 +00:00
400b37b91d9d95a72192c30300d8639660709cd7
InitializeResponse.Decode now reads the trailing Capabilities field only when >=8 bytes remain, so a newer node decoding a pre-v1.0.16 plugin's short payload yields Capabilities=0 instead of the unexpected-EOF that broke every EVM Initialize in the v1.36.11 skew (Capabilities appended at protocol 42 without a bump). Appending a future trailing field can no longer EOF-break an older peer. New test locks the tolerance. Co-authored-by: Hanzo Dev <[email protected]>
Languages
Go
79.5%
Cap'n Proto
12.8%
ZAP
7.7%