Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

[MOON-1460] fix migration for author-slot-filter #44

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

nbaztec
Copy link
Contributor

@nbaztec nbaztec commented Apr 6, 2022

This is a cherry pick of #43 onto v9.18

This PR changes the following in author-slot-filter pallet:

  • Fixes migration so the EligibilityValue is written even if old value was missing from storage (previously it would have ignored writing it).
  • Adds try-runtime feature so the migration can be tested
  • Adds default() method (for no-std in runtime) instead of name constant
  • Adds migration tests

@nbaztec nbaztec requested a review from librelois April 6, 2022 18:16
@nbaztec nbaztec merged commit 14215b0 into moonbeam-polkadot-v0.9.18 Apr 6, 2022
@nbaztec nbaztec deleted the nish-cherry-pick-auth-filter branch April 6, 2022 18:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants