mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 12:11:59 +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:
@@ -21,6 +21,7 @@ pub fn run<E: EthSpec>(mut env: Environment<E>, matches: &ArgMatches) -> Result<
|
||||
let cancun_time = parse_optional(matches, "cancun-time")?;
|
||||
let prague_time = parse_optional(matches, "prague-time")?;
|
||||
let osaka_time = parse_optional(matches, "osaka-time")?;
|
||||
let amsterdam_time = parse_optional(matches, "amsterdam-time")?;
|
||||
|
||||
let handle = env.core_context().executor.handle().unwrap();
|
||||
let spec = Arc::new(E::default_spec());
|
||||
@@ -40,6 +41,7 @@ pub fn run<E: EthSpec>(mut env: Environment<E>, matches: &ArgMatches) -> Result<
|
||||
cancun_time,
|
||||
prague_time,
|
||||
osaka_time,
|
||||
amsterdam_time,
|
||||
};
|
||||
let kzg = None;
|
||||
let server: MockServer<E> = MockServer::new_with_config(&handle, config, spec, kzg);
|
||||
|
||||
Reference in New Issue
Block a user