Updated consensus types for Gloas 1.7.0-alpha.1 (#8688)

Pulling out consensus type changes from #8677.

This PR covers all type changes for spec 1.7.0-alpha.1 (except for `DataColumnSidecar` changes, which is covered in @eserilev's PR  #8682)


  


Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>

Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
Jimmy Chen
2026-01-21 23:08:48 +11:00
committed by GitHub
parent 33e41d3f44
commit 21cabba1a2
20 changed files with 471 additions and 69 deletions

View File

@@ -387,8 +387,16 @@ where
T::name().into()
}
fn disabled_forks(&self) -> Vec<ForkName> {
// TODO(gloas): Can be removed once we enable Gloas on all tests
vec![]
}
fn is_enabled_for_fork(&self, fork_name: ForkName) -> bool {
// TODO(gloas): DataColumnSidecar tests are disabled until we update the DataColumnSidecar
// type.
self.supported_forks.contains(&fork_name)
&& !(fork_name == ForkName::Gloas && T::name() == "DataColumnSidecar")
}
}