fix: close demo lifecycle races
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user