mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-19 00:56:08 +00:00
pallet-grandpa: Remove GRANDPA_AUTHORITIES_KEY (#2181)
Remove the `GRANDPA_AUTHORITIES_KEY` key and its usage. Apparently this was used in the early days to communicate the grandpa authorities to the node. However, we have now a runtime api that does this for us. So, this pull request is moving from the custom managed storage item to a FRAME managed storage item. This pr also includes a migration for doing the switch on a running chain. --------- Co-authored-by: Davide Galassi <davxy@datawok.net>
This commit is contained in:
1 parent
604704a84c
commit
ebcf0a0f1c
7 files changed
+124
-83
No files matched your search
@@ -1497,6 +1497,8 @@ pub mod migrations {
|
||||
frame_support::migrations::RemovePallet<PhragmenElectionPalletName, <Runtime as frame_system::Config>::DbWeight>,
|
||||
frame_support::migrations::RemovePallet<TechnicalMembershipPalletName, <Runtime as frame_system::Config>::DbWeight>,
|
||||
frame_support::migrations::RemovePallet<TipsPalletName, <Runtime as frame_system::Config>::DbWeight>,
|
||||
|
||||
pallet_grandpa::migrations::MigrateV4ToV5<Runtime>,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user