a1bfdfbc04
This commit refactors the code in `invariants.go` to support state invariant checks for different actor versions. The code now includes checks for versions 10 and 11 of the actors. The `CheckStateInvariants` function is invoked based on the actor version, passing the appropriate parameters. This change ensures that state invariant checks are performed correctly for different actor versions. The changes made are as follows: - Added imports for actor versions 10 and 11. - Added `case` statements for versions 10 and 11 in the switch statement. - Invoked `CheckStateInvariants` function with the correct parameters for each version. - Handled errors returned by the `CheckStateInvariants` function. These changes enhance the flexibility and compatibility of the code with different actor versions, improving the accuracy of state invariant checks. |
||
---|---|---|
.. | ||
chain-noise | ||
lotus | ||
lotus-bench | ||
lotus-fountain | ||
lotus-gateway | ||
lotus-health | ||
lotus-keygen | ||
lotus-miner | ||
lotus-pcr | ||
lotus-seed | ||
lotus-shed | ||
lotus-sim | ||
lotus-stats | ||
lotus-wallet | ||
lotus-worker | ||
tvx |