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
@@ -43,6 +43,8 @@ use sp_std::prelude::Vec;
pub use frame_support::{weights::constants::ExtrinsicBaseWeight, Parameter};
pub use sp_runtime::{traits::Convert, Perbill};
pub mod parachains;
/// Number of extra bytes (excluding size of storage value itself) of storage proof, built at
/// Polkadot-like chain. This mostly depends on number of entries in the storage trie.
/// Some reserve is reserved to account future chain growth.