Skip to content

Commit 81e3c8d

Browse files
committed
fix genesis hash
1 parent e3793e2 commit 81e3c8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/node/tests/e2e.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ async fn can_penalize_peer_for_invalid_block() -> eyre::Result<()> {
135135
// Create invalid block
136136
let mut block = ScrollBlock::default();
137137
block.header.number = 1;
138-
block.header.parent_hash =
139-
b256!("0x14844a4fc967096c628e90df3bb0c3e98941bdd31d1982c2f3e70ed17250d98b");
138+
block.header.parent_hash = fixture.chain_spec.genesis_header.hash();
140139

141140
// Send invalid block from node0 to node1. We don't care about the signature here since we use a
142141
// NoopConsensus in the test.

0 commit comments

Comments
 (0)