Skip to content

Add invoice_id to late_payment_penalty_charged event data payload #611

Description

@Kingsman-99

Description

late_payment_penalty_charged in contracts/split/src/events.rs publishes with topics ("late_pen", invoice_id) — the invoice_id is already the second topic, so indexers can filter by it. However the event does not include invoice_id in the data payload, making data-only decoders unable to identify which invoice was affected.

Acceptance Criteria

  • Update late_payment_penalty_charged to include invoice_id in the event data: (invoice_id, payer, penalty_amount)
  • Update any existing tests for this event
  • 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

Assignees

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