Skip to content

test: add stablecoin supply invariant harness#36

Closed
knoal wants to merge 2 commits into
kcolbchain:mainfrom
knoal:test/issue-25-supply-invariant
Closed

test: add stablecoin supply invariant harness#36
knoal wants to merge 2 commits into
kcolbchain:mainfrom
knoal:test/issue-25-supply-invariant

Conversation

@knoal
Copy link
Copy Markdown
Contributor

@knoal knoal commented Apr 28, 2026

Summary

  • add a Foundry invariant harness for Stablecoin supply accounting
  • introduce a handler that tracks cumulative mint and burn totals across randomized action sequences
  • configure invariant discovery under forge-test/invariants/

Verification

  • forge test --mt invariant_ -vv (blocked here: forge is not installed in this runtime; branch was prepared from a repo state that previously validated locally)

Closes #25

@abhicris
Copy link
Copy Markdown
Contributor

🤖 Audit verdict: safe

Straightforward invariant test harness for stablecoin supply accounting; no malicious code, suspicious dependencies, credentials, or logic errors detected.

Audited by the kcolbchain PR pipeline. See pipeline docs.

@knoal knoal force-pushed the test/issue-25-supply-invariant branch from 82ad397 to cf4f78d Compare May 28, 2026 23:22
@Pattermesh
Copy link
Copy Markdown
Contributor

Closing: superseded by #45 which covers the same supply invariant test with updated approach. Thanks for the initial work!

@Pattermesh Pattermesh closed this Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[good first issue] Add invariant test for total supply across mint/burn cycles

3 participants