Compare commits

...

3 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
7 changed files with 14 additions and 13 deletions

8
Cargo.lock generated
View File

@@ -618,7 +618,7 @@ dependencies = [
[[package]]
name = "beacon_node"
version = "4.0.1"
version = "4.0.2-rc.0"
dependencies = [
"beacon_chain",
"clap",
@@ -786,7 +786,7 @@ dependencies = [
[[package]]
name = "boot_node"
version = "4.0.1"
version = "4.0.2-rc.0"
dependencies = [
"beacon_node",
"clap",
@@ -3770,7 +3770,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "lcli"
version = "4.0.1"
version = "4.0.2-rc.0"
dependencies = [
"account_utils",
"beacon_chain",
@@ -4374,7 +4374,7 @@ dependencies = [
[[package]]
name = "lighthouse"
version = "4.0.1"
version = "4.0.2-rc.0"
dependencies = [
"account_manager",
"account_utils",

View File

@@ -1,6 +1,6 @@
[package]
name = "beacon_node"
version = "4.0.1"
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"
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-",
fallback = "Lighthouse/v4.0.1"
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"
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"
version = "4.0.2-rc.0"
authors = ["Sigma Prime <contact@sigmaprime.io>"]
edition = "2021"
autotests = false