Merge branch 'gloas-range-sync' of https://github.com/eserilev/lighthouse into gloas-range-sync

This commit is contained in:
Eitan Seri-Levi
2026-05-04 14:58:07 +03:00
56 changed files with 1140 additions and 276 deletions

View File

@@ -10,7 +10,6 @@ disable-backfill = []
fork_from_env = ["beacon_chain/fork_from_env"]
fake_crypto = ["bls/fake_crypto", "kzg/fake_crypto"]
portable = ["beacon_chain/portable"]
test_logger = []
[dependencies]
alloy-primitives = { workspace = true }

View File

@@ -2131,6 +2131,7 @@ fn make_test_payload_envelope(
execution_requests: ExecutionRequests::default(),
builder_index: 0,
beacon_block_root,
parent_beacon_block_root: Hash256::ZERO,
},
signature: Signature::empty(),
}

View File

@@ -1279,6 +1279,7 @@ mod tests {
execution_requests: ExecutionRequests::default(),
builder_index: 0,
beacon_block_root: Hash256::from(rng.random::<[u8; 32]>()),
parent_beacon_block_root: Hash256::repeat_byte(0),
};
Arc::new(SignedExecutionPayloadEnvelope {
message: envelope,

View File

@@ -148,13 +148,13 @@ pub fn init_tracing() {
INIT_TRACING.call_once(|| {
if std::env::var(CI_LOGGER_DIR_ENV_VAR).is_ok() {
// Enable logging to log files for each test and each fork.
tracing_subscriber::registry()
let _ = tracing_subscriber::registry()
.with(
tracing_subscriber::fmt::layer()
.with_ansi(false)
.with_writer(CILogWriter),
)
.init();
.try_init();
}
});
}