pub fn upgrade( snapshot: Vec<StateUpdateKind>, ) -> Vec<MigrationAction<StateUpdateKind, StateUpdateKind>>