mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 19:51:05 +00:00
Fixes and improvements for PoC-1 Testnet (#143)
* Fix initialisations and add a test. * Fix test. * Fix overflow bug. * Minor refactoring and fixes. * Fix vote threshold. * Add note. * Fixes for latest rust and the readme. * Better readme. * An extra validator for PoC-1 * Update README. * PoC-1 bootnodes. * don't return async::notready for messages without scheduling wakeup * Fix endowed account * give polkadot control over round proposer based on random seed * address grumbles.
This commit is contained in:
@@ -56,6 +56,6 @@ args:
|
||||
- chain:
|
||||
long: chain
|
||||
value_name: CHAIN_SPEC
|
||||
help: Specify the chain specification (one of dev or poc-1)
|
||||
help: Specify the chain specification (one of dev, local or poc-1)
|
||||
takes_value: true
|
||||
subcommands:
|
||||
|
||||
@@ -126,13 +126,15 @@ pub fn run<I, T>(args: I) -> error::Result<()> where
|
||||
}
|
||||
|
||||
match matches.value_of("chain") {
|
||||
Some("poc-1") => config.chain_spec = ChainSpec::PoC1Testnet,
|
||||
Some("dev") => config.chain_spec = ChainSpec::Development,
|
||||
Some("local") => config.chain_spec = ChainSpec::LocalTestnet,
|
||||
Some("poc-1") => config.chain_spec = ChainSpec::PoC1Testnet,
|
||||
None => (),
|
||||
Some(unknown) => panic!("Invalid chain name: {}", unknown),
|
||||
}
|
||||
info!("Chain specification: {}", match config.chain_spec {
|
||||
ChainSpec::Development => "Local Development",
|
||||
ChainSpec::Development => "Development",
|
||||
ChainSpec::LocalTestnet => "Local Testnet",
|
||||
ChainSpec::PoC1Testnet => "PoC-1 Testnet",
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user