Files
substrate/cmd/ateapi/internal
Haven Xia 09bd348c58 ateapi: drop unknown fields when decoding objects from the store (#1414)
An old server replica doing Read-Modify-Write should drop unknown fields
on read and serve the reduced object.

Here we add `proto.UnmarshalOptions{DiscardUnknown: true}` because when
we read an unknown field in storage layer, it must mean a newer replica
has written such a field. Since we have declined requests with unknown
fields with interceptors in #1216.


Fixes #1205

- [ ] Tests pass
- [x] Appropriate changes to documentation are included in the PR
2026-09-02 17:07:56 -04:00
..
2026-08-30 15:43:52 -07:00