fix: close demo lifecycle races

This commit is contained in:
golem
2026-08-21 04:57:14 -06:00
parent a710106932
commit a28ad76868
5 changed files with 295 additions and 47 deletions
+6 -6
View File
@@ -106,17 +106,17 @@ forge test --match-test testLegacyParallelActorManifestIsRejected -vv
# DemoScript.InvalidActorConfiguration
forge test --match-test testAnvilManifestRequiresOwnerAtActorZero -vv
# DemoScript.UnexpectedState example payload: label, expected, actual
cast calldata 'UnexpectedState(string,uint256,uint256)' 'reserves' 1400000000 1399000000
# DemoScript.UnexpectedState, including label and expected/actual values
forge test --match-test testUnexpectedStateExerciseRevertsThroughAssertionBranch -vv
# DemoScript.UnexpectedAddress, including expected/actual implementation addresses
forge test --match-test testCheckStateRejectsManifestImplementationMismatch -vv
# CheckState.Insolvent example payload: reserves below ledger liabilities
cast calldata 'Insolvent(uint256,uint256)' 1399000000 1400000000
# CheckState.Insolvent with reserves below ledger liabilities
forge test --match-test testCheckStateExercisesRevertThroughInsolventAndUnknownStageBranches -vv
# CheckState.UnknownStage example payload
cast calldata 'UnknownStage(string)' 'mystery'
# CheckState.UnknownStage through the real state checker
forge test --match-test testCheckStateExercisesRevertThroughInsolventAndUnknownStageBranches -vv
```
Finish by running `make verify`; it combines unit, fuzz, invariant, script, process-safety, scanner, and web gates.