feat: add opstack specific display_hardforks implementation (#15233)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Varun Doshi
2025-03-26 14:20:25 +05:30
committed by GitHub
parent 0a6b546105
commit 790b49e00a
6 changed files with 34 additions and 14 deletions

View File

@@ -478,7 +478,7 @@ impl ChainSpec {
/// Returns the hardfork display helper.
pub fn display_hardforks(&self) -> DisplayHardforks {
DisplayHardforks::new(&self)
DisplayHardforks::new(self.hardforks.forks_iter())
}
/// Get the fork id for the given hardfork.