Feature description
Parent epic: #289
PoI milestone: Milestone 5 - Compatibility and test coverage
Add golden proof fixtures and compatibility tests for Proof of Inclusion.
The tests should protect proof format version 1 as a durable verification contract and make intentional proof-format changes explicit.
Motivation
PoI proofs must remain verifiable after SDK, API, and implementation details evolve. Golden fixtures and negative verification tests are the guardrail that keeps proof format version 1 stable.
Requirements
- Add golden transaction, object, and event proof fixtures.
- Verify golden fixtures offline.
- Test that unsupported proof versions return a clear error.
- Test anchored committee walking from the genesis blob.
- Test that the cache stores only verified committee material.
- Test that trusted-node mode does not write trusted-node committees into the anchored cache.
- Test gRPC construction for transaction, object, and event proofs from a test cluster.
- Test rejection of mismatched checkpoint contents, transaction effects, events, object references, and event sequences.
- Treat intentional version 1 fixture changes as compatibility decisions, not routine snapshot updates.
Open questions
- Should fixtures live inside the Rust crate, a shared test-data directory, or both?
Are you planning to do it yourself in a pull request?
Yes
Feature description
Parent epic: #289
PoI milestone: Milestone 5 - Compatibility and test coverage
Add golden proof fixtures and compatibility tests for Proof of Inclusion.
The tests should protect proof format version 1 as a durable verification contract and make intentional proof-format changes explicit.
Motivation
PoI proofs must remain verifiable after SDK, API, and implementation details evolve. Golden fixtures and negative verification tests are the guardrail that keeps proof format version 1 stable.
Requirements
Open questions
Are you planning to do it yourself in a pull request?
Yes