mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
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:
committed by
GitHub
parent
782c0264ac
commit
23d7afceb4
File diff suppressed because one or more lines are too long
@@ -1,21 +1,20 @@
|
|||||||
{
|
{
|
||||||
"name": "Westmint",
|
"name": "Westmint",
|
||||||
"id": "shell",
|
"id": "westmint",
|
||||||
"chainType": "Live",
|
"chainType": "Live",
|
||||||
"bootNodes": [
|
"bootNodes": [
|
||||||
"/ip4/35.204.21.205/tcp/30334/p2p/12D3KooWLjaXWhNTSiRVFbTJCKLRWt9XXHLGVnAFtxvnExKkVPqn",
|
"/ip4/35.204.21.205/tcp/30334/p2p/12D3KooWLjaXWhNTSiRVFbTJCKLRWt9XXHLGVnAFtxvnExKkVPqn",
|
||||||
"/ip4/34.141.171.170/tcp/30334/p2p/12D3KooWBNy2Jdrjv2P7sdfb1mzH1AGzwjip5rW4N2Ft1T3Hdq5c",
|
"/ip4/34.141.171.170/tcp/30334/p2p/12D3KooWBNy2Jdrjv2P7sdfb1mzH1AGzwjip5rW4N2Ft1T3Hdq5c",
|
||||||
"/ip4/34.141.221.252/tcp/30334/p2p/12D3KooWC9YYdjQLwxTNVda6t4nmjAZG37gaRZLNi4Zuhr9xUveW",
|
"/ip4/34.141.221.252/tcp/30334/p2p/12D3KooWC9YYdjQLwxTNVda6t4nmjAZG37gaRZLNi4Zuhr9xUveW",
|
||||||
"/ip4/34.90.92.174/tcp/30334/p2p/12D3KooWQcXpUyVqwC2zJkwECCC7ttLCUCLTjnbGxTVfhSgmH2sD"
|
"/ip4/34.90.92.174/tcp/30334/p2p/12D3KooWQcXpUyVqwC2zJkwECCC7ttLCUCLTjnbGxTVfhSgmH2sD"
|
||||||
|
],
|
||||||
],
|
|
||||||
"telemetryEndpoints": null,
|
"telemetryEndpoints": null,
|
||||||
"protocolId": null,
|
"protocolId": null,
|
||||||
|
"relay_chain": "westend",
|
||||||
"properties": {
|
"properties": {
|
||||||
"tokenDecimals": 12,
|
"tokenDecimals": 12,
|
||||||
"tokenSymbol": "WND"
|
"tokenSymbol": "WND"
|
||||||
},
|
},
|
||||||
"relay_chain": "westend",
|
|
||||||
"para_id": 1000,
|
"para_id": 1000,
|
||||||
"consensusEngine": null,
|
"consensusEngine": null,
|
||||||
"lightSyncState": null,
|
"lightSyncState": null,
|
||||||
|
|||||||
@@ -99,10 +99,9 @@ fn load_spec(
|
|||||||
// the chain spec as used for generating the upgrade genesis values
|
// the chain spec as used for generating the upgrade genesis values
|
||||||
"statemine-genesis" => Box::new(chain_spec::statemine_config(para_id)),
|
"statemine-genesis" => Box::new(chain_spec::statemine_config(para_id)),
|
||||||
// the shell-based chain spec as used for syncing
|
// 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(
|
||||||
// "statemine" => Box::new(chain_spec::ChainSpec::from_json_bytes(
|
&include_bytes!("../res/statemine.json")[..],
|
||||||
// &include_bytes!("../res/statemine.json")[..],
|
)?),
|
||||||
// )?),
|
|
||||||
"westmint-dev" => Box::new(chain_spec::westmint_development_config(para_id)),
|
"westmint-dev" => Box::new(chain_spec::westmint_development_config(para_id)),
|
||||||
"westmint-local" => Box::new(chain_spec::westmint_local_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
|
// the chain spec as used for generating the upgrade genesis values
|
||||||
|
|||||||
Reference in New Issue
Block a user