mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Add Fulu boilerplate (#6695)
* Add Fulu boilerplate * Add more boilerplate * Change fulu_time to osaka_time * Merge branch 'unstable' into fulu-boilerplate * Fix tests * Merge branch 'unstable' into fulu-boilerplate * More test fixes * Apply suggestions * Remove `get_payload` boilerplate * Add lightclient fulu types and fix beacon-chain-tests * Disable Fulu in ef-tests * Reduce boilerplate for future forks * Small fixes * One more fix * Apply suggestions * Merge branch 'unstable' into fulu-boilerplate * Fix lints
This commit is contained in:
@@ -19,6 +19,7 @@ pub fn run<E: EthSpec>(mut env: Environment<E>, matches: &ArgMatches) -> Result<
|
||||
let shanghai_time = parse_required(matches, "shanghai-time")?;
|
||||
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 handle = env.core_context().executor.handle().unwrap();
|
||||
let spec = &E::default_spec();
|
||||
@@ -37,6 +38,7 @@ pub fn run<E: EthSpec>(mut env: Environment<E>, matches: &ArgMatches) -> Result<
|
||||
shanghai_time: Some(shanghai_time),
|
||||
cancun_time,
|
||||
prague_time,
|
||||
osaka_time,
|
||||
};
|
||||
let kzg = None;
|
||||
let server: MockServer<E> = MockServer::new_with_config(&handle, config, kzg);
|
||||
|
||||
Reference in New Issue
Block a user