File tree Expand file tree Collapse file tree 3 files changed +48
-3
lines changed Expand file tree Collapse file tree 3 files changed +48
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ pub fn development_config() -> ChainSpec {
8787 let mut properties = sc_chain_spec:: Properties :: new ( ) ;
8888 properties. insert ( "tokenSymbol" . into ( ) , "HDEV" . into ( ) ) ;
8989 properties. insert ( "tokenDecimals" . into ( ) , 18 . into ( ) ) ;
90- properties. insert ( "ss58Format" . into ( ) , 42 . into ( ) ) ;
90+ properties. insert ( "ss58Format" . into ( ) , 5000 . into ( ) ) ;
9191
9292 ChainSpec :: from_genesis (
9393 // Name
@@ -143,7 +143,7 @@ pub fn local_testnet_config() -> ChainSpec {
143143 let mut properties = sc_chain_spec:: Properties :: new ( ) ;
144144 properties. insert ( "tokenSymbol" . into ( ) , "HDEV" . into ( ) ) ;
145145 properties. insert ( "tokenDecimals" . into ( ) , 18 . into ( ) ) ;
146- properties. insert ( "ss58Format" . into ( ) , 42 . into ( ) ) ;
146+ properties. insert ( "ss58Format" . into ( ) , 5000 . into ( ) ) ;
147147
148148 ChainSpec :: from_genesis (
149149 // Name
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ fn set_default_ss58_version(spec: &Box<dyn sc_service::ChainSpec>) {
111111 } else if spec. is_md5 ( ) {
112112 5000
113113 } else {
114- 42
114+ 5000
115115 } ;
116116
117117 sp_core:: crypto:: set_default_ss58_version ( ss58_version. into ( ) ) ;
Original file line number Diff line number Diff line change 1+ # HOW TO RUN: zombienet-linux-x64 spawn --provider native small_network.toml
2+ [relaychain ]
3+ # default_image = "parity/polkadot:latest"
4+ # default_command = "polkadot"
5+ chain = " rococo-local"
6+
7+ # [relaychain.genesis.runtime.configuration.config]
8+ # scheduling_lookahead = 2
9+
10+ # [relaychain.genesis.runtime.configuration.config.async_backing_params]
11+ # max_candidate_depth = 3
12+ # allowed_ancestry_len = 2
13+
14+ # [relaychain.genesis.runtimeGenesis.patch.configuration.config]
15+ # scheduling_lookahead = 2
16+
17+ # [relaychain.genesis.runtimeGenesis.patch.configuration.config.async_backing_params]
18+ # max_candidate_depth = 3
19+ # allowed_ancestry_len = 2
20+
21+ [[relaychain .nodes ]]
22+ name = " alice"
23+ validator = true
24+
25+ [[relaychain .nodes ]]
26+ name = " bob"
27+ validator = true
28+
29+ [[parachains ]]
30+ id = 2000
31+ cumulus_based = true
32+ chain = " dev"
33+ # genesis_wasm_path = "/home/sebastian/vsc-workspace/hashed-substrate/resources/md5-wasm"
34+ # chain_spec_path = "/home/sebastian/vsc-workspace/hashed-substrate-parachain/resources/md5-collator-raw-spec.json"
35+
36+ # run charlie as parachain collator
37+ [[parachains .collators ]]
38+ name = " charlie"
39+ validator = true
40+ # image = "sebastianmontero/hashed-substrate-collator:latest"
41+ command = " ./target/release/hashed-parachain"
42+ args = [" -lparachain=debug" ]
43+ # args = ["--force-authoring"]
44+ # args = ["--chain", "/var/www/hashed-substrate/md5-collator-raw-spec.json", "--force-authoring"]
45+ # args = ["--chain", "/var/www/hashed-substrate/md5-collator-raw-spec.json"]
You can’t perform that action at this time.
0 commit comments