Skip to content

Commit

Permalink
chainHead/tests: Fix clippy (#2325)
Browse files Browse the repository at this point in the history
Remove the genesis hash from tests:
- Clippy was passing on the PR:
#2296
- Clippy fails on master:
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4328487

This was a race with merging:
#2295, which introduced
another test that used the `CHAIN_GENESIS`

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
  • Loading branch information
lexnv committed Nov 14, 2023
1 parent 1cd38c2 commit 3a87390
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion substrate/client/rpc-spec-v2/src/chain_head/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,6 @@ async fn follow_with_multiple_unpin_hashes() {
client.clone(),
backend,
Arc::new(TaskExecutor::default()),
CHAIN_GENESIS,
ChainHeadConfig {
global_max_pinned_blocks: MAX_PINNED_BLOCKS,
subscription_max_pinned_duration: Duration::from_secs(MAX_PINNED_SECS),
Expand Down

0 comments on commit 3a87390

Please sign in to comment.