Skip to content

Add invoice_id to invoice_refunded event data #598

Description

@Kingsman-99

Description

invoice_refunded in contracts/split/src/events.rs currently publishes only (event_seq,) in the data field. The invoice_id is only in the topic. Adding the invoice ID to the data payload makes it easier for indexers that decode only event data (not topics) to correlate refund events with invoices.

Acceptance Criteria

  • Modify invoice_refunded to include invoice_id in the event data tuple: (invoice_id, event_seq)
  • Update any existing tests that assert the exact event data shape
  • cargo test passes

Context

  • Target file: contracts/split/src/events.rs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programcomplexity: highComplex feature requiring deep knowledge - 200 ptsenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions