Parachains finality pallet (#1068)

* parachains finality

* parachains pallet test

* demo of how to configure GRANDPA pallet instance

* allow instances in parachains pallet

* spellcheck

* TODO + fix

* fmt

* removed invalid storage_keys file

* change all hashers to Blake2_128Concat

* use Twox64Concat for insertion position

* fix build

* fix compilation

* change ParaId and ParaHead types

* TODOs -> TODOs with issues refs
This commit is contained in:
Svyatoslav Nikolsky
2022-05-12 13:20:38 +03:00
committed by Bastian Köcher
parent f2a8ca1d3e
commit f54bd6c779
7 changed files with 914 additions and 1 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ pub mod pallet {
/// Headers which have been imported into the pallet.
#[pallet::storage]
pub(super) type ImportedHeaders<T: Config<I>, I: 'static = ()> =
pub type ImportedHeaders<T: Config<I>, I: 'static = ()> =
StorageMap<_, Identity, BridgedBlockHash<T, I>, BridgedHeader<T, I>>;
/// The current GRANDPA Authority set.