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
@@ -8,7 +8,9 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies]
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["derive"] }
parity-util-mem = { version = "0.11.0", optional = true }
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
serde = { version = "1.0", optional = true, features = ["derive"] }
# Bridge Dependencies
@@ -36,7 +38,9 @@ std = [
"frame-support/std",
"frame-system/std",
"parity-scale-codec/std",
"parity-util-mem",
"scale-info/std",
"serde",
"sp-api/std",
"sp-core/std",
"sp-runtime/std",