v1.5.0 rc.0 (#2506)

## Issue Addressed

NA

## Proposed Changes

- Bump to `v1.5.0-rc.0`.
- Increase attestation reprocessing queue size (I saw this filling up on Prater).
- Reduce error log for full attn reprocessing queue to warn.

## TODO

- [x] Manual testing
- [x] Resolve https://github.com/sigp/lighthouse/pull/2493
- [x] Include https://github.com/sigp/lighthouse/pull/2501
This commit is contained in:
Paul Hauner 2021-08-12 04:02:46 +00:00
parent 4af6fcfafd
commit 4c4ebfbaa1
7 changed files with 12 additions and 12 deletions

8
Cargo.lock generated
View File

@ -545,7 +545,7 @@ dependencies = [
[[package]] [[package]]
name = "beacon_node" name = "beacon_node"
version = "1.4.0" version = "1.5.0-rc.0"
dependencies = [ dependencies = [
"beacon_chain", "beacon_chain",
"clap", "clap",
@ -719,7 +719,7 @@ dependencies = [
[[package]] [[package]]
name = "boot_node" name = "boot_node"
version = "1.4.0" version = "1.5.0-rc.0"
dependencies = [ dependencies = [
"beacon_node", "beacon_node",
"clap", "clap",
@ -3218,7 +3218,7 @@ dependencies = [
[[package]] [[package]]
name = "lcli" name = "lcli"
version = "1.4.0" version = "1.5.0-rc.0"
dependencies = [ dependencies = [
"account_utils", "account_utils",
"bls", "bls",
@ -3862,7 +3862,7 @@ dependencies = [
[[package]] [[package]]
name = "lighthouse" name = "lighthouse"
version = "1.4.0" version = "1.5.0-rc.0"
dependencies = [ dependencies = [
"account_manager", "account_manager",
"account_utils", "account_utils",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "beacon_node" name = "beacon_node"
version = "1.4.0" version = "1.5.0-rc.0"
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com"] authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com"]
edition = "2018" edition = "2018"

View File

@ -17,7 +17,7 @@ use eth2_libp2p::{MessageId, PeerId};
use fnv::FnvHashMap; use fnv::FnvHashMap;
use futures::task::Poll; use futures::task::Poll;
use futures::{Stream, StreamExt}; use futures::{Stream, StreamExt};
use slog::{crit, debug, error, Logger}; use slog::{crit, debug, error, warn, Logger};
use slot_clock::SlotClock; use slot_clock::SlotClock;
use std::collections::{HashMap, HashSet}; use std::collections::{HashMap, HashSet};
use std::pin::Pin; use std::pin::Pin;
@ -46,7 +46,7 @@ pub const QUEUED_ATTESTATION_DELAY: Duration = Duration::from_secs(12);
const MAXIMUM_QUEUED_BLOCKS: usize = 16; const MAXIMUM_QUEUED_BLOCKS: usize = 16;
/// How many attestations we keep before new ones get dropped. /// How many attestations we keep before new ones get dropped.
const MAXIMUM_QUEUED_ATTESTATIONS: usize = 1_024; const MAXIMUM_QUEUED_ATTESTATIONS: usize = 2_048;
/// Messages that the scheduler can receive. /// Messages that the scheduler can receive.
pub enum ReprocessQueueMessage<T: BeaconChainTypes> { pub enum ReprocessQueueMessage<T: BeaconChainTypes> {
@ -261,7 +261,7 @@ impl<T: BeaconChainTypes> ReprocessQueue<T> {
if let Some(duration_till_slot) = slot_clock.duration_to_slot(block_slot) { if let Some(duration_till_slot) = slot_clock.duration_to_slot(block_slot) {
// Check to ensure this won't over-fill the queue. // Check to ensure this won't over-fill the queue.
if self.queued_block_roots.len() >= MAXIMUM_QUEUED_BLOCKS { if self.queued_block_roots.len() >= MAXIMUM_QUEUED_BLOCKS {
error!( warn!(
log, log,
"Early blocks queue is full"; "Early blocks queue is full";
"queue_size" => MAXIMUM_QUEUED_BLOCKS, "queue_size" => MAXIMUM_QUEUED_BLOCKS,

View File

@ -1,6 +1,6 @@
[package] [package]
name = "boot_node" name = "boot_node"
version = "1.4.0" version = "1.5.0-rc.0"
authors = ["Sigma Prime <contact@sigmaprime.io>"] authors = ["Sigma Prime <contact@sigmaprime.io>"]
edition = "2018" edition = "2018"

View File

@ -16,7 +16,7 @@ pub const VERSION: &str = git_version!(
// NOTE: using --match instead of --exclude for compatibility with old Git // NOTE: using --match instead of --exclude for compatibility with old Git
"--match=thiswillnevermatchlol" "--match=thiswillnevermatchlol"
], ],
prefix = "Lighthouse/v1.4.0-", prefix = "Lighthouse/v1.5.0-rc.0-",
fallback = "unknown" fallback = "unknown"
); );

View File

@ -1,7 +1,7 @@
[package] [package]
name = "lcli" name = "lcli"
description = "Lighthouse CLI (modeled after zcli)" description = "Lighthouse CLI (modeled after zcli)"
version = "1.4.0" version = "1.5.0-rc.0"
authors = ["Paul Hauner <paul@paulhauner.com>"] authors = ["Paul Hauner <paul@paulhauner.com>"]
edition = "2018" edition = "2018"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "lighthouse" name = "lighthouse"
version = "1.4.0" version = "1.5.0-rc.0"
authors = ["Sigma Prime <contact@sigmaprime.io>"] authors = ["Sigma Prime <contact@sigmaprime.io>"]
edition = "2018" edition = "2018"
autotests = false autotests = false