mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Add Gloas boilerplate (#7728)
Adds the required boilerplate code for the Gloas (Glamsterdam) hard fork. This allows PRs testing Gloas-candidate features to test fork transition. This also includes de-duplication of post-Bellatrix readiness notifiers from #6797 (credit to @dapplion)
This commit is contained in:
@@ -2651,7 +2651,12 @@ impl ApiTester {
|
||||
}
|
||||
|
||||
pub async fn test_get_config_spec(self) -> Self {
|
||||
let result = if self.chain.spec.is_fulu_scheduled() {
|
||||
let result = if self.chain.spec.is_gloas_scheduled() {
|
||||
self.client
|
||||
.get_config_spec::<ConfigAndPresetGloas>()
|
||||
.await
|
||||
.map(|res| ConfigAndPreset::Gloas(res.data))
|
||||
} else if self.chain.spec.is_fulu_scheduled() {
|
||||
self.client
|
||||
.get_config_spec::<ConfigAndPresetFulu>()
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user