lotus/cmd
Mikers 1eca520076 Added support for Filecoin network version 21 (v12 state types)
This commit includes the following updates:

- Imported v12 of the filecoin state types in migrations.go. This allows the system to interpret and operate on the latest structure of filecoin state information, ensuring compatibility with the latest version of the Filecoin network.

- Updated the 'getMigrationFuncsForNetwork' function to include a case for network.Version21, enabling the use of the UpgradeActorsV12 and PreUpgradeActorsV12 functions for network migration. These changes ensure the system correctly handles migrations when the network upgrades to version 21.

- Implemented a new 'checkNv21Invariants' function to check the invariants for version 21 of the Filecoin network. This function:

  1. Loads the new state root from the actor store.
  2. Retrieves the actor code IDs for the current state version (v12).
  3. Loads the actor tree from the state root and checks state invariants using the actor code IDs.
  4. Logs any error messages generated during the invariant check.
  5. Finally, prints a message with the time taken to complete the checks.

By checking these invariants, we can ensure the system's state is consistent and valid after migrating to network version 21.
2023-08-01 14:23:55 -10:00
..
chain-noise chore: fix imports 2022-06-14 17:00:51 +02:00
lotus fix: supply extra params for ReportConsensusFaultParams 2023-06-09 10:15:14 +08:00
lotus-bench add synthPoRep support to bench simple 2023-07-18 10:27:40 -07:00
lotus-fountain set default data-cap same as MinVerifiedDealSize 2023-05-24 22:09:29 -07:00
lotus-gateway gateway: eth_subscribe support 2023-01-31 10:28:12 +01:00
lotus-health fix make gen 2022-08-29 16:25:30 +02:00
lotus-keygen NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
lotus-miner Impl synthPoRep 2023-07-13 15:47:59 +02:00
lotus-pcr refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
lotus-seed synthPoRep in PreferredSeal..() 2023-07-13 15:47:58 +02:00
lotus-shed Added support for Filecoin network version 21 (v12 state types) 2023-08-01 14:23:55 -10:00
lotus-sim fixes 2023-07-13 15:48:08 +02:00
lotus-stats Bump http-server-timeout default to 30s 2022-11-29 14:38:44 +00:00
lotus-wallet Merge remote-tracking branch 'upstream/master' into adlrocha/cns-iface-master 2022-12-05 18:16:14 +01:00
lotus-worker Update redeclare cmd on Lotus-Workers 2023-05-18 18:04:10 +02:00
tvx chore: migrate to boxo 2023-06-19 14:45:05 -07:00