Compare commits

..

4 Commits

Author SHA1 Message Date
Paul Hauner
35d8c98561 Bump versions 2023-04-13 09:33:23 +10:00
Paul Hauner
db6ace541c Empty commit 2023-04-13 09:31:44 +10:00
Paul Hauner
1da556e7eb Use head state for exit verification 2023-04-13 09:27:56 +10:00
Paul Hauner
a53830fd60 Release v4.0.1 (#4125)
## Issue Addressed

NA

## Proposed Changes

- Bump versions.
- Bump openssl version to resolve various `cargo audit` notices.

## Additional Info

- Requires further testing
2023-03-26 22:39:28 +00:00
7 changed files with 18 additions and 17 deletions

16
Cargo.lock generated
View File

@@ -618,7 +618,7 @@ dependencies = [
[[package]]
name = "beacon_node"
version = "4.0.1-rc.0"
version = "4.0.2-rc.0"
dependencies = [
"beacon_chain",
"clap",
@@ -786,7 +786,7 @@ dependencies = [
[[package]]
name = "boot_node"
version = "4.0.1-rc.0"
version = "4.0.2-rc.0"
dependencies = [
"beacon_node",
"clap",
@@ -3770,7 +3770,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "lcli"
version = "4.0.1-rc.0"
version = "4.0.2-rc.0"
dependencies = [
"account_utils",
"beacon_chain",
@@ -4374,7 +4374,7 @@ dependencies = [
[[package]]
name = "lighthouse"
version = "4.0.1-rc.0"
version = "4.0.2-rc.0"
dependencies = [
"account_manager",
"account_utils",
@@ -5333,9 +5333,9 @@ dependencies = [
[[package]]
name = "openssl"
version = "0.10.45"
version = "0.10.48"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1"
checksum = "518915b97df115dd36109bfa429a48b8f737bd05508cf9588977b599648926d2"
dependencies = [
"bitflags",
"cfg-if",
@@ -5374,9 +5374,9 @@ dependencies = [
[[package]]
name = "openssl-sys"
version = "0.9.80"
version = "0.9.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7"
checksum = "666416d899cf077260dac8698d60a60b435a46d57e82acb1be3d0dad87284e5b"
dependencies = [
"autocfg 1.1.0",
"cc",

View File

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

View File

@@ -2173,12 +2173,13 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
&self,
exit: SignedVoluntaryExit,
) -> Result<ObservationOutcome<SignedVoluntaryExit, T::EthSpec>, Error> {
// NOTE: this could be more efficient if it avoided cloning the head state
let wall_clock_state = self.wall_clock_state()?;
let head_snapshot = self.head().snapshot;
let head_state = &head_snapshot.beacon_state;
Ok(self
.observed_voluntary_exits
.lock()
.verify_and_observe(exit, &wall_clock_state, &self.spec)
.verify_and_observe(exit, head_state, &self.spec)
.map(|exit| {
// this method is called for both API and gossip exits, so this covers all exit events
if let Some(event_handler) = self.event_handler.as_ref() {

View File

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

View File

@@ -17,8 +17,8 @@ pub const VERSION: &str = git_version!(
// NOTE: using --match instead of --exclude for compatibility with old Git
"--match=thiswillnevermatchlol"
],
prefix = "Lighthouse/v4.0.1-rc.0-",
fallback = "Lighthouse/v4.0.1-rc.0"
prefix = "Lighthouse/v4.0.2-rc.0-",
fallback = "Lighthouse/v4.0.2-rc.0"
);
/// Returns `VERSION`, but with platform information appended to the end.

View File

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

View File

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