Skip to content

feat(cli): add static formal invariant checker for cross-chain state - #882

Merged
mijinummi merged 2 commits into
MDTechLabs:mainfrom
fathiaoyinloye:feat/cli-static-invariant-checker
Aug 2, 2026
Merged

feat(cli): add static formal invariant checker for cross-chain state#882
mijinummi merged 2 commits into
MDTechLabs:mainfrom
fathiaoyinloye:feat/cli-static-invariant-checker

Conversation

@fathiaoyinloye

Copy link
Copy Markdown
Contributor

Description

Add a static formal invariant checker to the BridgeWise CLI that analyzes contract ASTs to verify critical cross-chain accounting invariants. The new bridgewise check-invariants command constructs state modification graphs, evaluates balance transitions, and reports potential execution paths that could violate bridge asset backing guarantees, making it suitable for CI/CD integration.

Related Issue

Closes #876

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • No console errors
  • Uses Lucide icons consistently
  • Responsive design implemented
  • Starknet best practices followed

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

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

@mijinummi

Copy link
Copy Markdown
Collaborator

Hi @fathiaoyinloye , please resolve the conflict

@fathiaoyinloye

fathiaoyinloye commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

Hi @mijinummi I've resolved the merge conflicts and updated the PR. It's ready for review and merge.

@mijinummi
mijinummi merged commit 3909363 into MDTechLabs:main Aug 2, 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.

[CORE] Build CLI Static Formal Invariant Checker for Cross-Chain State

2 participants