mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-29 02:33:48 +00:00
Merge remote-tracking branch 'origin/release-v8.0' into unstable
This commit is contained in:
@@ -1371,7 +1371,7 @@ pub fn verify_signed_aggregate_signatures<T: BeaconChainTypes>(
|
||||
.spec
|
||||
.fork_at_epoch(indexed_attestation.data().target.epoch);
|
||||
|
||||
let signature_sets = vec![
|
||||
let signature_sets = [
|
||||
signed_aggregate_selection_proof_signature_set(
|
||||
|validator_index| pubkey_cache.get(validator_index).map(Cow::Borrowed),
|
||||
signed_aggregate,
|
||||
|
||||
@@ -628,7 +628,7 @@ pub fn verify_signed_aggregate_signatures<T: BeaconChainTypes>(
|
||||
(signed_aggregate.message.contribution.slot + 1).epoch(T::EthSpec::slots_per_epoch());
|
||||
let fork = chain.spec.fork_at_epoch(next_slot_epoch);
|
||||
|
||||
let signature_sets = vec![
|
||||
let signature_sets = [
|
||||
signed_sync_aggregate_selection_proof_signature_set(
|
||||
|validator_index| pubkey_cache.get(validator_index).map(Cow::Borrowed),
|
||||
signed_aggregate,
|
||||
|
||||
@@ -298,28 +298,28 @@ pub fn spawn_notifier<T: BeaconChainTypes>(
|
||||
|
||||
let speed = speedo.slots_per_second();
|
||||
let display_speed = speed.is_some_and(|speed| speed != 0.0);
|
||||
|
||||
let est_time_in_secs = if let (Some(da_boundary_epoch), Some(original_slot)) = (
|
||||
beacon_chain.get_column_da_boundary(),
|
||||
original_earliest_data_column_slot,
|
||||
) {
|
||||
let target = original_slot.saturating_sub(
|
||||
da_boundary_epoch.start_slot(T::EthSpec::slots_per_epoch()),
|
||||
);
|
||||
speedo.estimated_time_till_slot(target)
|
||||
} else {
|
||||
None
|
||||
};
|
||||
if display_speed {
|
||||
info!(
|
||||
distance,
|
||||
speed = sync_speed_pretty(speed),
|
||||
est_time =
|
||||
estimated_time_pretty(beacon_chain.get_column_da_boundary().and_then(
|
||||
|da_boundary| speedo.estimated_time_till_slot(
|
||||
da_boundary.start_slot(T::EthSpec::slots_per_epoch())
|
||||
)
|
||||
)),
|
||||
est_time = estimated_time_pretty(est_time_in_secs),
|
||||
"Downloading historical data columns"
|
||||
);
|
||||
} else {
|
||||
info!(
|
||||
distance,
|
||||
est_time =
|
||||
estimated_time_pretty(beacon_chain.get_column_da_boundary().and_then(
|
||||
|da_boundary| speedo.estimated_time_till_slot(
|
||||
da_boundary.start_slot(T::EthSpec::slots_per_epoch())
|
||||
)
|
||||
)),
|
||||
est_time = estimated_time_pretty(est_time_in_secs),
|
||||
"Downloading historical data columns"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ use super::DEFAULT_TERMINAL_BLOCK;
|
||||
const TEST_BLOB_BUNDLE: &[u8] = include_bytes!("fixtures/mainnet/test_blobs_bundle.ssz");
|
||||
const TEST_BLOB_BUNDLE_V2: &[u8] = include_bytes!("fixtures/mainnet/test_blobs_bundle_v2.ssz");
|
||||
|
||||
pub const DEFAULT_GAS_LIMIT: u64 = 45_000_000;
|
||||
pub const DEFAULT_GAS_LIMIT: u64 = 60_000_000;
|
||||
const GAS_USED: u64 = DEFAULT_GAS_LIMIT - 1;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
||||
@@ -40,7 +40,7 @@ use warp::reply::{self, Reply};
|
||||
use warp::{Filter, Rejection};
|
||||
|
||||
pub const DEFAULT_FEE_RECIPIENT: Address = Address::repeat_byte(42);
|
||||
pub const DEFAULT_GAS_LIMIT: u64 = 45_000_000;
|
||||
pub const DEFAULT_GAS_LIMIT: u64 = 60_000_000;
|
||||
pub const DEFAULT_BUILDER_PRIVATE_KEY: &str =
|
||||
"607a11b45a7219cc61a3d9c5fd08c7eebd602a6a19a977f8d3771d5711a550f2";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user