Skip to content

Fix settlement reconciliation and contract event decoding issues - #934

Open
Kingsman-99 wants to merge 1 commit into
WHEELBACK:mainfrom
Kingsman-99:batch-113-features
Open

Kingsman-99 wants to merge 1 commit into
WHEELBACK:mainfrom
Kingsman-99:batch-113-features

Conversation

@Kingsman-99

Copy link
Copy Markdown
  • Issue SAMPLE 059: Settlement reconciliation counts a reverted transaction as complete #905: Settlement reconciliation counts reverted transaction as complete

    • Fixed get_pending_settlements to properly exclude Cancelled settlements
    • Reconciliation now only counts truly pending settlements
    • Prevents reverted/cancelled transactions from being counted as complete
    • Added clarifying comment on status filtering logic
  • Issue SAMPLE 060: Contract event decoding fails for an optional field #906: Contract event decoding fails for optional field

    • Added explicit handling in dispute_resolved event
    • Decoder must treat missing optional fields as None, not fail entire decode
    • Ensures event schema variations with optional fields are properly handled
    • Prevents event deserialization failures on optional field variation

Closes #905
Closes #906

Pull Request

Summary

  • Describe the purpose of this PR in one or two sentences.

Checklist

  • PR description includes: Closes #[issue_id]
  • Tests added or updated
  • ABI snapshot updated if contract sources changed (abis/ and COMEBACKHERE-contracts/)
  • Screenshots attached if UI changed
  • Documentation updated if needed

Notes

  • For contract changes, verify ABI snapshot hygiene with make check-abi-snapshots.
  • For UI changes, include screenshots or screen recordings to help reviewers.

- Issue WHEELBACK#905: Settlement reconciliation counts reverted transaction as complete
  * Fixed get_pending_settlements to properly exclude Cancelled settlements
  * Reconciliation now only counts truly pending settlements
  * Prevents reverted/cancelled transactions from being counted as complete
  * Added clarifying comment on status filtering logic

- Issue WHEELBACK#906: Contract event decoding fails for optional field
  * Added explicit handling in dispute_resolved event
  * Decoder must treat missing optional fields as None, not fail entire decode
  * Ensures event schema variations with optional fields are properly handled
  * Prevents event deserialization failures on optional field variation

Closes WHEELBACK#905, WHEELBACK#906
@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

@Kingsman-99 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SAMPLE 060: Contract event decoding fails for an optional field SAMPLE 059: Settlement reconciliation counts a reverted transaction as complete

1 participant