Add set custom header to Seedling Runtime (#846)

* before adding seedling client side

* seedling runtime compiles

* create seedling spec script added

* seedling node & BaseCallFilter fixes

* update AllPalets

* formatting

* CallFilter + SignedExtra + AccountData fix

* XCM removed

* cleanup

* solo-to-para pallet added & before testing

* fix runtime upgrade method

* soloToPara pallet + set header

* clean up

* clean up 2

* signed extension check sudo added

* fmt + cleanup

* Refac code and fixes

* fmt

* Update pallets/solo-to-para/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update pallets/solo-to-para/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update pallets/solo-to-para/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* small fixes

* OnValidationData used

* small changes

* Update pallets/solo-to-para/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update pallets/solo-to-para/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Update pallets/solo-to-para/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* OnValidationData replaced by OnSystemEvent

* fmt + cargo fix

* disable-default-bootnodes for seedling script

Co-authored-by: Ricardo Rius <ricardo@parity.io>
Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Ignacio Palacios
2022-01-14 14:21:10 +01:00
committed by GitHub
parent 2d9123d456
commit 60c3ccfd62
19 changed files with 285 additions and 45 deletions
Generated
+18 -1
View File
@@ -1686,6 +1686,7 @@ dependencies = [
"frame-support",
"frame-system",
"hex-literal 0.2.1",
"impl-trait-for-tuples",
"lazy_static",
"log",
"pallet-balances",
@@ -1731,6 +1732,22 @@ dependencies = [
"sp-std",
]
[[package]]
name = "cumulus-pallet-solo-to-para"
version = "0.1.0"
dependencies = [
"cumulus-pallet-parachain-system",
"cumulus-primitives-core",
"frame-support",
"frame-system",
"pallet-sudo",
"parity-scale-codec",
"polkadot-primitives",
"scale-info",
"sp-runtime",
"sp-std",
]
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
@@ -1790,7 +1807,6 @@ name = "cumulus-primitives-core"
version = "0.1.0"
dependencies = [
"frame-support",
"impl-trait-for-tuples",
"parity-scale-codec",
"polkadot-core-primitives",
"polkadot-parachain",
@@ -9850,6 +9866,7 @@ name = "seedling-runtime"
version = "0.1.0"
dependencies = [
"cumulus-pallet-parachain-system",
"cumulus-pallet-solo-to-para",
"cumulus-primitives-core",
"frame-executive",
"frame-support",