Skip to content

Refactor/contracts status guard helper#547

Merged
mikewheeleer merged 4 commits into
Liquifact:mainfrom
Glam26:refactor/contracts-status-guard-helper
Jun 28, 2026
Merged

Refactor/contracts status guard helper#547
mikewheeleer merged 4 commits into
Liquifact:mainfrom
Glam26:refactor/contracts-status-guard-helper

Conversation

@Glam26

@Glam26 Glam26 commented Jun 27, 2026

Copy link
Copy Markdown
Contributor
  1. The new guard_status_eq and guard_status_in helpers and the updated
    status code legend in lib.rs .
  2. The complete rollout of the new status guards across all InvoiceEscrow
    entrypoints replacing the manual status == N checks.
  3. The fixed init function calls across all tests (aligning them to match
    the new 14-argument signature).
  4. The deletion of the legacy attestation and revocation test cases from
    attestations.rs .
  5. The various bug fixes to syntax, duplication, and imports.

closes #486

@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@Glam26 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

@mikewheeleer

Copy link
Copy Markdown
Contributor

looks good — merging now

@mikewheeleer mikewheeleer merged commit 68908ff into Liquifact:main Jun 28, 2026
1 check failed
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.

Extract the repeated status-equality guard checks into a single shared helper

3 participants