pub(in state_migration) trait ActorMigrationVerifier<BS> {
// Required method
fn verify_migration(
&self,
store: &BS,
migrations: &CidHashMap<Arc<dyn ActorMigration<BS> + Send + Sync>>,
actors_in: &StateTree<BS>,
) -> Result<()>;
}
Expand description
The implementation should verify that the migration specification is correct. This is to prevent accidental migration errors.