The great refactor (#325)

* Move pallets to pallets folder and rename them

* Move genesis file to service

* Rename primitives to primitives-core

* Delete cumulus-runtime

* Move stuff to client folder and rename
This commit is contained in:
Bastian Köcher
2021-02-10 13:07:21 +01:00
committed by GitHub
parent a4998998a9
commit 119e0859b9
48 changed files with 436 additions and 547 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ messages of other Parachains.
To convert a Substrate runtime into a Parachain runtime, the following code needs to be added to the
runtime:
```rust
cumulus_runtime::register_validate_block!(Block, Executive);
cumulus_pallet_parachain_system::register_validate_block!(Block, Executive);
```
This macro call expects the `Block` and `Executive` type. It generates the `validate_block` function