We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3793e2 commit 81e3c8dCopy full SHA for 81e3c8d
crates/node/tests/e2e.rs
@@ -135,8 +135,7 @@ async fn can_penalize_peer_for_invalid_block() -> eyre::Result<()> {
135
// Create invalid block
136
let mut block = ScrollBlock::default();
137
block.header.number = 1;
138
- block.header.parent_hash =
139
- b256!("0x14844a4fc967096c628e90df3bb0c3e98941bdd31d1982c2f3e70ed17250d98b");
+ block.header.parent_hash = fixture.chain_spec.genesis_header.hash();
140
141
// Send invalid block from node0 to node1. We don't care about the signature here since we use a
142
// NoopConsensus in the test.
0 commit comments