mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 13:28:33 +00:00
Add Electra fork boilerplate (#5122)
* Add Electra fork boilerplate * Remove electra from spec tests * Fix tests * Remove sneaky log file * Fix more tests * Fix even more tests and add suggestions * Remove unrelated lcli addition * Update more tests * Merge branch 'unstable' into electra * Add comment for test-suite lcli override * Merge branch 'unstable' into electra * Cleanup * Merge branch 'unstable' into electra * Apply suggestions * Merge branch 'unstable' into electra * Merge sigp/unstable into electra * Merge branch 'unstable' into electra
This commit is contained in:
@@ -18,6 +18,7 @@ pub fn run<T: EthSpec>(mut env: Environment<T>, matches: &ArgMatches) -> Result<
|
||||
let all_payloads_valid: bool = parse_required(matches, "all-payloads-valid")?;
|
||||
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 handle = env.core_context().executor.handle().unwrap();
|
||||
let spec = &T::default_spec();
|
||||
@@ -35,6 +36,7 @@ pub fn run<T: EthSpec>(mut env: Environment<T>, matches: &ArgMatches) -> Result<
|
||||
terminal_block_hash: spec.terminal_block_hash,
|
||||
shanghai_time: Some(shanghai_time),
|
||||
cancun_time,
|
||||
prague_time,
|
||||
};
|
||||
let kzg = None;
|
||||
let server: MockServer<T> = MockServer::new_with_config(&handle, config, kzg);
|
||||
|
||||
Reference in New Issue
Block a user