Fixes a correctness issue in Thrift record decoding: the previous decoder assumed fields arrive strictly in schema order.

This change decodes records by field id (order-independent) and skips unknown fields, with a regression test that writes an out-of-order Thrift struct.

/claim #681

Claim

Total prize pool $1,000
Total paid $0
Status Pending
Submitted January 16, 2026
Last updated January 16, 2026

Contributors

ST

Stan Byriukov

@StanByriukov02

100%

Sponsors

ZI

ZIO

@ZIO

$1,000