forest/state_migration/nv21/mod.rs
1// Copyright 2019-2025 ChainSafe Systems
2// SPDX-License-Identifier: Apache-2.0, MIT
3
4//! This module contains the migration logic for the `NV21` upgrade.
5//! The corresponding Go implementation can be found here:
6//! <https://github.com/filecoin-project/go-state-types/blob/master/builtin/v12/migration/top.go>
7
8mod migration;
9mod miner;
10
11/// Run migration for `NV21`. This should be the only exported method in this
12/// module.
13pub use migration::run_migration;
14
15use crate::{define_system_states, impl_system, impl_verifier};
16
17define_system_states!(
18 fil_actor_system_state::v11::State,
19 fil_actor_system_state::v12::State
20);
21
22impl_system!();
23impl_verifier!();