mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
clean up enabled and disabled fork logic in ef tests
This commit is contained in:
@@ -120,6 +120,18 @@ impl ForkName {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn altair_enabled(self) -> bool {
|
||||
self >= ForkName::Altair
|
||||
}
|
||||
|
||||
pub fn bellatrix_enabled(self) -> bool {
|
||||
self >= ForkName::Bellatrix
|
||||
}
|
||||
|
||||
pub fn capella_enabled(self) -> bool {
|
||||
self >= ForkName::Capella
|
||||
}
|
||||
|
||||
pub fn deneb_enabled(self) -> bool {
|
||||
self >= ForkName::Deneb
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user