Skip to content

test: Halmos symbolic proofs + invariant suite for AccountConfiguration#25

Draft
chunter-cb wants to merge 1 commit into
refactor/account-hierarchy-and-docsfrom
test/formal-verification
Draft

test: Halmos symbolic proofs + invariant suite for AccountConfiguration#25
chunter-cb wants to merge 1 commit into
refactor/account-hierarchy-and-docsfrom
test/formal-verification

Conversation

@chunter-cb

Copy link
Copy Markdown
Collaborator

Draft — stacked on #24 (base is refactor/account-hierarchy-and-docs, not main). Review/merge #24 first; rebase onto main once #24 lands.

Summary

  • test/fv/: Halmos symbolic (check_*) proofs, a stateful invariant suite, plus the handler and harness for AccountConfiguration.
  • Add halmos.toml and requirements-fv.txt (pinned halmos==0.3.3) for local and CI runs.
  • foundry.toml: add [fuzz] / [invariant] run configuration for the invariant suite.
  • CI: add a formal-verification job that runs the symbolic proofs.
  • .gitignore: ignore the local Halmos virtualenv and cache.

Test plan

  • forge test (incl. invariant suite) — 213 passed, 0 failed
  • halmos --match-contract AccountConfigurationSymbolicTest (CI job)

…guration

- test/fv: symbolic (Halmos) proofs, stateful invariant suite, handler, and harness
  for AccountConfiguration.
- Add halmos.toml and requirements-fv.txt (pinned halmos) for local + CI runs.
- foundry.toml: add [fuzz]/[invariant] run configuration for the invariant suite.
- CI: add a formal-verification job running the symbolic proofs.
- .gitignore: ignore the local Halmos virtualenv and cache.
@chunter-cb chunter-cb force-pushed the test/formal-verification branch from 90d5908 to 731e514 Compare July 7, 2026 21:31
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.

1 participant