Skip to content

Commit

Permalink
implement migratePersistentAccount for PAV3 -> PAV4 (#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
drsk0 authored Dec 11, 2024
1 parent 4241433 commit 4b58084
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ migratePersistentAccount m@StateMigrationParametersP3ToP4{} (PAV0 acc) = PAV1 <$
migratePersistentAccount m@StateMigrationParametersP4ToP5{} (PAV1 acc) = PAV2 <$> V1.migratePersistentAccountFromV0 m acc
migratePersistentAccount m@StateMigrationParametersP5ToP6{} (PAV2 acc) = PAV2 <$> V1.migratePersistentAccount m acc
migratePersistentAccount m@StateMigrationParametersP6ToP7{} (PAV2 acc) = PAV3 <$> V1.migratePersistentAccount m acc
migratePersistentAccount StateMigrationParametersP7ToP8{} (PAV3 _acc) = error "TODO(drsk) github #1222. Implement migratePersistentAccount for p7 -> p8"
migratePersistentAccount m@StateMigrationParametersP7ToP8{} (PAV3 acc) = PAV4 <$> V1.migratePersistentAccount m acc

-- | Migrate a 'PersistentBakerInfoRef' between protocol versions according to a state migration.
migratePersistentBakerInfoRef ::
Expand Down

0 comments on commit 4b58084

Please sign in to comment.