Skip to content

Commit 4dcde73

Browse files
authored
Merge pull request #100 from AnduroProject/AN-278-alys-monkey-patch-failed-block-validation-at-70132
Monkey patch failed block validation at 70132
2 parents 5e34168 + 432e947 commit 4dcde73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/src/chain.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,11 @@ impl<DB: ItemStore<MainnetEthSpec>> Chain<DB> {
11281128
unverified_block: &SignedConsensusBlock<MainnetEthSpec>,
11291129
prev_payload_hash: ExecutionBlockHash,
11301130
) -> Result<(), Error> {
1131+
// TODO: remove this after resetting testnet + integration of governance module
1132+
if unverified_block.message.execution_payload.block_number == 70132 {
1133+
return Ok(());
1134+
}
1135+
11311136
let (_execution_block, execution_receipts) =
11321137
self.get_block_and_receipts(&prev_payload_hash).await?;
11331138

0 commit comments

Comments
 (0)