Skip to content
Commit 39e5548c authored by Ross Bulat's avatar Ross Bulat Committed by GitHub
Browse files

Reward pool migration fix (#13715)



* reward pool migration fix

* comment

* remove generic

* rm max

* foramtting

* Add note to V4 migration

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Add more asserts to the V5 migration

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Make compile

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Update frame/nomination-pools/src/migration.rs

Co-authored-by: default avatarGonçalo Pestana <[email protected]>

* Make V4 migration re-usable

Otherwise it wont chain together with the V5.

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Add MigrateV3ToV5 wrapper

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: default avatarGonçalo Pestana <[email protected]>
parent 1fad957d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment