chore: move genesis block builder to chain-spec crate. (#13427)

* chore: move genesis block builder to block builder crate.

* add missing file

* chore: move genesis block builder to sc-chain-spec

* Update client/chain-spec/src/genesis.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

* Update test-utils/runtime/src/genesismap.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

* Update test-utils/runtime/client/src/lib.rs

* fix warnings

* fix warnings

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
yjh
2023-03-01 03:50:57 +08:00
committed by GitHub
parent 1ef9c473e7
commit 20bf3c938e
12 changed files with 88 additions and 74 deletions
+5
View File
@@ -8011,12 +8011,16 @@ version = "4.0.0-dev"
dependencies = [
"memmap2",
"sc-chain-spec-derive",
"sc-client-api",
"sc-executor",
"sc-network-common",
"sc-telemetry",
"serde",
"serde_json",
"sp-blockchain",
"sp-core",
"sp-runtime",
"sp-state-machine",
]
[[package]]
@@ -10869,6 +10873,7 @@ dependencies = [
"futures",
"parity-scale-codec",
"sc-block-builder",
"sc-chain-spec",
"sc-client-api",
"sc-consensus",
"sp-api",