Skip to content

Event schema: v2 symbols, EVENT_SCHEMA_VERSION_V2, indexer fixture golden vectors [RC26Q2-C12] #261

@thlpkee20-wq

Description

@thlpkee20-wq

Description

Ensure the contract emits the intended v2 events for the audit/indexer story: include src/test_indexer_fixtures.rs (or similar) to lock payload shapes to golden expectations.

Requirements and context

  • Breaking event fields must be versioned, not “silently” extended.

Suggested execution

  • Fork the repo, then:

    • git checkout -b feature/soroban-events-v2-fixtures
  • Relevant modules: src/lib.rs, src/test_indexer_fixtures.rs, docs/indexer-fixture-coverage.md

  • Implement and verify

    • Extend events tests; document how indexers should branch on the version when multiple generations coexist in deployments.
  • Test and document

    • Add or extend automated tests; cover edge cases and invariants
    • Document security assumptions; include test output summary and a short security / risk note in the PR
    • For Revora-Contracts (Soroban): cargo test, cargo clippy, rustdoc/NatSpec-style entrypoint docs where applicable. Do not implement Solidity; this work targets Rust/WASM in this repository.
    • For Backend / Frontend: follow the repo’s existing Jest/TS/ESLint/Vite setup.
    • Example commit message: test(soroban): v2 event and indexer golden fixtures

Labels and GitHub label colors

  • Create the labels in this issue’s labels: line under Settings → Labels in the target repo.
  • Assign distinct colors (avoid all grey): e.g. #0052CC (blue, platform), #B60205 (red, security), #0E8A16 (green, tests), #5319E7 (purple, P1), #F9D0C4 (scope), #1D76DB (api), #BFD4F2 (docs) — pick a non-default palette so issues are scannable in the board.

Guidelines

  • Target ≥ 95% test coverage for new or materially changed code paths
  • Clear, linked documentation in-repo
  • Timeframe: 96 hours from assignment

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions