Add spec for westend network (#792)

* add json

* Add spec changes

* Fix config method

* spaces -> tabs
This commit is contained in:
ddorgan
2020-01-23 16:46:40 +00:00
committed by Bastian Köcher
parent 8b39c79fe5
commit 5621c18632
3 changed files with 128 additions and 0 deletions
+4
View File
@@ -60,6 +60,10 @@ pub fn kusama_config() -> Result<ChainSpec, String> {
ChainSpec::from_json_bytes(&include_bytes!("../res/kusama.json")[..])
}
pub fn westend_config() -> Result<ChainSpec, String> {
ChainSpec::from_json_bytes(&include_bytes!("../res/westend.json")[..])
}
fn session_keys(
babe: BabeId,
grandpa: GrandpaId,