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
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
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
Files to touch
src/revenue.rs, src/tests/test_revenue_deposit.rs, EVENT_PAYLOADS.md
Out of scope