-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migration for hold identifier #253
Conversation
Master coverage: 74.46% |
for (account_id, holds) in stored_data { | ||
let mut new_holds = vec![]; | ||
|
||
for hold in holds { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would that turn all holds into PooledStake holds? No other pallets perform holds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we only have one hold type yes. The problem if I evaluate the hold type is that I still need to convert the rest of the hold identifiers to something and that something right now is only PooledStake
* migration for hold identifier * clean warning * tests * updated interfaces
* migration for hold identifier * clean warning * tests * updated interfaces
Migrates hold identifier from [u8; 8] to a proper enum holdReason