mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Update to spec v1.1.8 (#2893)
## Proposed Changes Change the canonical fork name for the merge to Bellatrix. Keep other merge naming the same to avoid churn. I've also fixed and enabled the `fork` and `transition` tests for Bellatrix, and the v1.1.7 fork choice tests. Additionally, the `BellatrixPreset` has been added with tests. It gets served via the `/config/spec` API endpoint along with the other presets.
This commit is contained in:
@@ -413,20 +413,26 @@ fn finality() {
|
||||
|
||||
#[test]
|
||||
fn fork_choice_get_head() {
|
||||
ForkChoiceGetHeadHandler::<MinimalEthSpec>::default().run();
|
||||
ForkChoiceGetHeadHandler::<MainnetEthSpec>::default().run();
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("get_head").run();
|
||||
ForkChoiceHandler::<MainnetEthSpec>::new("get_head").run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fork_choice_on_block() {
|
||||
ForkChoiceOnBlockHandler::<MinimalEthSpec>::default().run();
|
||||
ForkChoiceOnBlockHandler::<MainnetEthSpec>::default().run();
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("on_block").run();
|
||||
ForkChoiceHandler::<MainnetEthSpec>::new("on_block").run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fork_choice_on_merge_block() {
|
||||
ForkChoiceOnMergeBlockHandler::<MinimalEthSpec>::default().run();
|
||||
ForkChoiceOnMergeBlockHandler::<MainnetEthSpec>::default().run();
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("on_merge_block").run();
|
||||
ForkChoiceHandler::<MainnetEthSpec>::new("on_merge_block").run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fork_choice_ex_ante() {
|
||||
ForkChoiceHandler::<MinimalEthSpec>::new("ex_ante").run();
|
||||
ForkChoiceHandler::<MainnetEthSpec>::new("ex_ante").run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user