mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 13:58:28 +00:00
Gloas fork choice redux (#9025)
Co-Authored-By: hopinheimer <knmanas6@gmail.com> Co-Authored-By: Michael Sproul <michael@sigmaprime.io> Co-Authored-By: hopinheimer <48147533+hopinheimer@users.noreply.github.com> Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com> Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com> Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com> Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com> Co-Authored-By: Daniel Knopik <107140945+dknopik@users.noreply.github.com>
This commit is contained in:
@@ -3995,7 +3995,7 @@ async fn schema_downgrade_to_min_version(store_config: StoreConfig, archive: boo
|
||||
)
|
||||
.await;
|
||||
|
||||
let min_version = CURRENT_SCHEMA_VERSION;
|
||||
let min_version = SchemaVersion(28);
|
||||
|
||||
// Save the slot clock so that the new harness doesn't revert in time.
|
||||
let slot_clock = harness.chain.slot_clock.clone();
|
||||
@@ -5426,10 +5426,12 @@ fn assert_chains_pretty_much_the_same<T: BeaconChainTypes>(a: &BeaconChain<T>, b
|
||||
.fork_choice_write_lock()
|
||||
.get_head(slot, &spec)
|
||||
.unwrap()
|
||||
.0
|
||||
== b.canonical_head
|
||||
.fork_choice_write_lock()
|
||||
.get_head(slot, &spec)
|
||||
.unwrap(),
|
||||
.unwrap()
|
||||
.0,
|
||||
"fork_choice heads should be equal"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user