Skip to content

Commit 5ec4607

Browse files
authored
chainHead/tests: Fix clippy (paritytech#2325)
Remove the genesis hash from tests: - Clippy was passing on the PR: paritytech#2296 - Clippy fails on master: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4328487 This was a race with merging: paritytech#2295, which introduced another test that used the `CHAIN_GENESIS` Signed-off-by: Alexandru Vasile <[email protected]>
1 parent a8fe9fb commit 5ec4607

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • substrate/client/rpc-spec-v2/src/chain_head

substrate/client/rpc-spec-v2/src/chain_head/tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,6 @@ async fn follow_with_multiple_unpin_hashes() {
16271627
client.clone(),
16281628
backend,
16291629
Arc::new(TaskExecutor::default()),
1630-
CHAIN_GENESIS,
16311630
ChainHeadConfig {
16321631
global_max_pinned_blocks: MAX_PINNED_BLOCKS,
16331632
subscription_max_pinned_duration: Duration::from_secs(MAX_PINNED_SECS),

0 commit comments

Comments
 (0)