Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
c3af86c
Move DummySpecialization to sc-network (#4680)
tomaka Jan 20, 2020
561bd72
keep nominations after getting kicked with zero slash (#4681)
rphmeier Jan 20, 2020
a90c72e
deprecate chain_status field of network handshake (#4675)
rphmeier Jan 20, 2020
a083572
client/finality-grandpa/communication: Add doc comment for PeerReport…
mxinden Jan 20, 2020
0995bb3
ci: increase retention for logs of tests to 144 hours (#4677)
gabreal Jan 20, 2020
1f9d09d
Pallet session new API (#4609)
gui1117 Jan 20, 2020
5cd952b
Only support ECDSA compressed public keys (#4667)
bkchr Jan 20, 2020
cfbb24c
Call enable_all() when building tokio runtime (#4690)
tomaka Jan 20, 2020
cb9c181
Make debug builds more usable (#4683)
bkchr Jan 21, 2020
f52ea97
grandpa: reduce allocations when verifying multiple messages (#4693)
andresilva Jan 21, 2020
6ee1244
Pass an executor through the Configuration (#4688)
tomaka Jan 21, 2020
1472014
contracts: New contract events + unconfusions (#4685)
Robbepop Jan 21, 2020
ef97057
fix docs deadlinks (#4698)
NikVolf Jan 21, 2020
4b2f70f
remove license preamble from node-template (#4699)
NikVolf Jan 21, 2020
cf020ad
grandpa: filter some telemetry events on larger voter sets (#4700)
andresilva Jan 21, 2020
ef578cd
Support `u128`/`i128` in runtime interface (#4703)
bkchr Jan 22, 2020
2cc1772
client/authority-discovery/Cargo.toml: Update dependency (#4706)
mxinden Jan 22, 2020
6c3b86d
More cleanups in node-template (#4705)
NikVolf Jan 22, 2020
32c04b4
Merge branch 'paritytech/master' into prometheus_v0.3
mxinden Jan 23, 2020
ea9278a
utils/prometheus: Make crate spawn onto global executor
mxinden Jan 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More cleanups in node-template (paritytech#4705)
* remove and reformat

* remove some more

* commit Cargo.lock
  • Loading branch information
NikVolf authored and bkchr committed Jan 22, 2020
commit 6c3b86d16ad19751fbbab86e369883b5425c72df
4 changes: 0 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions bin/node-template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ futures = "0.3.1"
ctrlc = { version = "3.1.3", features = ["termination"] }
log = "0.4.8"
tokio = { version = "0.2", features = ["rt-threaded"] }
parking_lot = "0.9.0"
codec = { package = "parity-scale-codec", version = "1.0.0" }
trie-root = "0.15.2"
sp-io = { version = "2.0.0", path = "../../primitives/io" }
sc-cli = { version = "0.8.0", path = "../../client/cli" }
sp-core = { version = "2.0.0", path = "../../primitives/core" }
sc-executor = { version = "0.8", path = "../../client/executor" }
Expand Down
62 changes: 33 additions & 29 deletions bin/node-template/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,19 @@ impl Alternative {
Alternative::Development => ChainSpec::from_genesis(
"Development",
"dev",
|| testnet_genesis(vec![
get_authority_keys_from_seed("Alice"),
],
get_account_id_from_seed::<sr25519::Public>("Alice"),
vec![
|| testnet_genesis(
vec![
get_authority_keys_from_seed("Alice"),
],
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_account_id_from_seed::<sr25519::Public>("Bob"),
get_account_id_from_seed::<sr25519::Public>("Alice//stash"),
get_account_id_from_seed::<sr25519::Public>("Bob//stash"),
],
true),
vec![
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_account_id_from_seed::<sr25519::Public>("Bob"),
get_account_id_from_seed::<sr25519::Public>("Alice//stash"),
get_account_id_from_seed::<sr25519::Public>("Bob//stash"),
],
true,
),
vec![],
None,
None,
Expand All @@ -76,26 +78,28 @@ impl Alternative {
Alternative::LocalTestnet => ChainSpec::from_genesis(
"Local Testnet",
"local_testnet",
|| testnet_genesis(vec![
get_authority_keys_from_seed("Alice"),
get_authority_keys_from_seed("Bob"),
],
get_account_id_from_seed::<sr25519::Public>("Alice"),
vec![
|| testnet_genesis(
vec![
get_authority_keys_from_seed("Alice"),
get_authority_keys_from_seed("Bob"),
],
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_account_id_from_seed::<sr25519::Public>("Bob"),
get_account_id_from_seed::<sr25519::Public>("Charlie"),
get_account_id_from_seed::<sr25519::Public>("Dave"),
get_account_id_from_seed::<sr25519::Public>("Eve"),
get_account_id_from_seed::<sr25519::Public>("Ferdie"),
get_account_id_from_seed::<sr25519::Public>("Alice//stash"),
get_account_id_from_seed::<sr25519::Public>("Bob//stash"),
get_account_id_from_seed::<sr25519::Public>("Charlie//stash"),
get_account_id_from_seed::<sr25519::Public>("Dave//stash"),
get_account_id_from_seed::<sr25519::Public>("Eve//stash"),
get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),
],
true),
vec![
get_account_id_from_seed::<sr25519::Public>("Alice"),
get_account_id_from_seed::<sr25519::Public>("Bob"),
get_account_id_from_seed::<sr25519::Public>("Charlie"),
get_account_id_from_seed::<sr25519::Public>("Dave"),
get_account_id_from_seed::<sr25519::Public>("Eve"),
get_account_id_from_seed::<sr25519::Public>("Ferdie"),
get_account_id_from_seed::<sr25519::Public>("Alice//stash"),
get_account_id_from_seed::<sr25519::Public>("Bob//stash"),
get_account_id_from_seed::<sr25519::Public>("Charlie//stash"),
get_account_id_from_seed::<sr25519::Public>("Dave//stash"),
get_account_id_from_seed::<sr25519::Public>("Eve//stash"),
get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),
],
true,
),
vec![],
None,
None,
Expand Down