mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 21:04:41 +00:00
Update invalid head tests (#3400)
## Proposed Changes Update the invalid head tests so that they work with the current default fork choice configuration. Thanks @realbigsean for fixing the persistence test and the EF tests. Co-authored-by: realbigsean <sean@sigmaprime.io>
This commit is contained in:
@@ -341,7 +341,7 @@ impl<E: EthSpec> Tester<E> {
|
||||
let result = self.block_on_dangerous(
|
||||
self.harness
|
||||
.chain
|
||||
.process_block(block.clone(), CountUnrealized::True),
|
||||
.process_block(block.clone(), CountUnrealized::False),
|
||||
)?;
|
||||
if result.is_ok() != valid {
|
||||
return Err(Error::DidntFail(format!(
|
||||
|
||||
Reference in New Issue
Block a user