lotus/cmd/lotus-shed
mike seiler a1bfdfbc04 Refactor state invariant checks for different actor versions
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.
2023-06-28 12:50:15 -07:00
..
shedgen make jen 2022-05-23 15:11:46 -04:00
actor.go Change arg from minerAddress to minerID 2023-05-04 15:21:05 +02:00
address.go encode address into byte 2023-01-24 20:18:04 +13:00
balancer.go shed: simple wallet balancer util 2021-11-22 14:29:23 +01:00
balances.go lint 2023-03-12 15:50:10 +02:00
base16.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
base32.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
base64.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
bigint.go chore: fix imports 2022-06-14 17:00:51 +02:00
bitfield.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
blockmsgid.go chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
chain.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
chainwatch.go shed chainwatch: Appease the linter 2023-03-23 12:33:00 +01:00
cid.go cid -> bytes command 2023-01-17 12:19:04 -07:00
commp.go chore: fix imports 2022-06-14 17:00:51 +02:00
consensus.go cctx.Args().Len() to cctx.NArg() 2022-09-14 14:33:29 -04:00
cron-count.go chore: fix imports 2022-06-14 17:00:51 +02:00
datastore-vlog.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
datastore.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
deal-label.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
diff.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
election.go chore: fix imports 2022-06-14 17:00:51 +02:00
eth.go Add new lotus-shed command for computing eth hash for a given message cid (#10961) 2023-06-06 17:53:04 -05:00
export-car.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
export.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
fevmanalytics.go make lint happy 2023-03-31 15:16:24 -04:00
fip-0036.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
fr32.go storage: Move extern/sector-storage to storage/sealer 2022-06-14 20:03:38 +02:00
frozen-miners.go chore: fix imports 2022-06-14 17:00:51 +02:00
gas-estimation.go perf: eth: gas estimate set applyTsMessages false (#10546) 2023-03-29 14:25:40 -04:00
genesis-verify.go fix: chain: Fix flaky TestChainExportImport 2022-12-02 22:13:12 +01:00
hello.go Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
import-car.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
indexes.go Move back to lotus-shed and add subcategory for indexes 2023-06-03 12:22:25 -05:00
invariants.go Refactor state invariant checks for different actor versions 2023-06-28 12:50:15 -07:00
itestd.go Bump http-server-timeout default to 30s 2022-11-29 14:38:44 +00:00
jwt.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
keyinfo.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
ledger.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
main.go Move back to lotus-shed and add subcategory for indexes 2023-06-03 12:22:25 -05:00
market.go feat: shed: refactor market cron-state command 2023-04-24 11:02:43 -04:00
math.go chore: fix imports 2022-06-14 17:00:51 +02:00
mempool-stats.go Bump http-server-timeout default to 30s 2022-11-29 14:38:44 +00:00
migrations.go shed: migrations: add reminder about continuity testing tool 2023-04-26 09:50:16 -04:00
miner-multisig.go Update go-state-types 2022-12-14 19:33:47 -05:00
miner-peerid.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
miner-types.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
miner.go Fix lint after merge 2023-04-23 15:43:53 -06:00
misc.go chore: fix imports 2022-06-14 17:00:51 +02:00
mismatches.go chore: deps: update to FVM 3.3.1 2023-05-01 10:37:43 -04:00
mpool.go chore: fix imports 2022-06-14 17:00:51 +02:00
msg.go Merge branch 'master' into adlrocha/cns-iface-master 2022-11-22 10:28:18 +01:00
msig.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
nonce-fix.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
params.go chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
postfind.go chore: fix imports 2022-06-14 17:00:51 +02:00
proofs.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
pruning.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
rpc.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
sectors.go fix tests/lint 2023-05-23 12:26:13 +02:00
send-csv.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
signatures.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
splitstore.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
state-stats.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
stateroot-stats.go cctx.Args().Len() to cctx.NArg() 2022-09-14 14:33:29 -04:00
sync.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
terminations.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
verifreg.go make ledger sign work 2023-05-17 22:01:04 -04:00