Skip to content

[Testing] Add a test asserting deposit_revenue's event topics match EVENT_PAYLOADS.md #678

Description

@davidmaronio

Context

Related to the revenue_deposited documentation drift found in EVENT_PAYLOADS.md: a test that pins the exact topic tuple published by deposit_revenue would catch this kind of mismatch going forward whenever the event payload changes.

Acceptance criteria

  • Behavior/gap described above is addressed or confirmed and documented
  • Relevant unit test(s) added or updated
  • cargo fmt --check and cargo clippy --all-targets --features testutils -- -D warnings pass

Files to touch

src/revenue.rs, src/tests/test_revenue_deposit.rs, EVENT_PAYLOADS.md

Out of scope

  • Unrelated refactors outside the files listed above
  • Changes to unrelated contract functions not mentioned in this issue

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programtestingTest coverage and quality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions