Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Oct 30, 2023
1 parent 765cab9 commit 391b780
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
6 changes: 0 additions & 6 deletions node/src/chain_spec/crab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ pub fn genesis_config() -> ChainSpec {
.iter()
.map(|(k, _)| (array_bytes::hex_n_into_unchecked(k), 10_000 * UNIT))
.collect(),
..Default::default()
},
transaction_payment: Default::default(),
assets: AssetsConfig {
Expand All @@ -206,7 +205,6 @@ pub fn genesis_config() -> ChainSpec {
.iter()
.map(|(k, _)| (array_bytes::hex_n_into_unchecked(k), 1_000 * UNIT))
.collect(),
..Default::default()
},
session: SessionConfig {
keys: collators
Expand All @@ -219,7 +217,6 @@ pub fn genesis_config() -> ChainSpec {
)
})
.collect(),
..Default::default()
},
aura: Default::default(),
aura_ext: Default::default(),
Expand Down Expand Up @@ -297,7 +294,6 @@ fn testnet_genesis(
// Monetary stuff.
balances: BalancesConfig {
balances: endowed_accounts.iter().cloned().map(|k| (k, 100_000_000 * UNIT)).collect(),
..Default::default()
},
transaction_payment: Default::default(),
assets: AssetsConfig {
Expand All @@ -318,7 +314,6 @@ fn testnet_genesis(
elapsed_time: 0,
collator_count: collators.len() as _,
collators: collators.iter().map(|(a, _)| (a.to_owned(), UNIT)).collect(),
..Default::default()
},
session: SessionConfig {
keys: collators
Expand All @@ -331,7 +326,6 @@ fn testnet_genesis(
)
})
.collect(),
..Default::default()
},
aura: Default::default(),
aura_ext: Default::default(),
Expand Down
6 changes: 0 additions & 6 deletions node/src/chain_spec/darwinia.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ pub fn genesis_config() -> ChainSpec {
.iter()
.map(|(k, _)| (array_bytes::hex_n_into_unchecked(k), 10_000 * UNIT))
.collect(),
..Default::default()
},
transaction_payment: Default::default(),
assets: AssetsConfig {
Expand All @@ -202,7 +201,6 @@ pub fn genesis_config() -> ChainSpec {
.iter()
.map(|(k, _)| (array_bytes::hex_n_into_unchecked(k), 1_000 * UNIT))
.collect(),
..Default::default()
},
session: SessionConfig {
keys: collators
Expand All @@ -215,7 +213,6 @@ pub fn genesis_config() -> ChainSpec {
)
})
.collect(),
..Default::default()
},
aura: Default::default(),
aura_ext: Default::default(),
Expand Down Expand Up @@ -293,7 +290,6 @@ fn testnet_genesis(
// Monetary stuff.
balances: BalancesConfig {
balances: endowed_accounts.iter().cloned().map(|k| (k, 100_000_000 * UNIT)).collect(),
..Default::default()
},
transaction_payment: Default::default(),
assets: AssetsConfig {
Expand All @@ -314,7 +310,6 @@ fn testnet_genesis(
elapsed_time: 0,
collator_count: collators.len() as _,
collators: collators.iter().map(|(a, _)| (a.to_owned(), UNIT)).collect(),
..Default::default()
},
session: SessionConfig {
keys: collators
Expand All @@ -327,7 +322,6 @@ fn testnet_genesis(
)
})
.collect(),
..Default::default()
},
aura: Default::default(),
aura_ext: Default::default(),
Expand Down
2 changes: 1 addition & 1 deletion node/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ where
EthFilter::new(
client.clone(),
frontier_backend,
graph.clone(),
graph,
filter_pool,
500_usize, // max stored filters
max_past_logs,
Expand Down

0 comments on commit 391b780

Please sign in to comment.