Add raw chainspecs for Westmint and Statemine (#470)

* add raw chainspecs

* rename chain specs

* add statemine to accepted --chain values

* fix up westmint chainspec

* fix up westmint chainspec

* add token symbol and decimals to statemine chain spec

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
This commit is contained in:
e.g. magical unicorn
2021-06-04 15:12:06 +02:00
committed by GitHub
parent 5eeb06c583
commit e9a9d6bfd0
3 changed files with 49 additions and 12 deletions
+3 -4
View File
@@ -99,10 +99,9 @@ fn load_spec(
// the chain spec as used for generating the upgrade genesis values
"statemine-genesis" => Box::new(chain_spec::statemine_config(para_id)),
// the shell-based chain spec as used for syncing
// TODO: enable once the chain spec is ready and available
// "statemine" => Box::new(chain_spec::ChainSpec::from_json_bytes(
// &include_bytes!("../res/statemine.json")[..],
// )?),
"statemine" => Box::new(chain_spec::ChainSpec::from_json_bytes(
&include_bytes!("../res/statemine.json")[..],
)?),
"westmint-dev" => Box::new(chain_spec::westmint_development_config(para_id)),
"westmint-local" => Box::new(chain_spec::westmint_local_config(para_id)),
// the chain spec as used for generating the upgrade genesis values