Description
invoice_expired in contracts/split/src/events.rs emits (deadline, funded, event_seq) but not the creator address. Including the creator in the data payload lets indexers attribute expired invoices to creators without a separate get_invoice call.
Acceptance Criteria
Context
- Target file:
contracts/split/src/events.rs
Description
invoice_expiredincontracts/split/src/events.rsemits(deadline, funded, event_seq)but not the creator address. Including the creator in the data payload lets indexers attribute expired invoices to creators without a separateget_invoicecall.Acceptance Criteria
invoice_expiredto accept acreator: &Addressparametercreatorin the event data:(deadline, funded, creator, event_seq)lib.rscargo testpassesContext
contracts/split/src/events.rs