Skip to content

Commit d0b9a9f

Browse files
committed
Merge branch 'unstable' into update-fulu-spec-config
2 parents 20113c2 + a0a6b93 commit d0b9a9f

File tree

103 files changed

+711
-8116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+711
-8116
lines changed

Cargo.lock

Lines changed: 2 additions & 153 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ members = [
66
"beacon_node/beacon_processor",
77
"beacon_node/builder_client",
88
"beacon_node/client",
9-
"beacon_node/eth1",
109
"beacon_node/execution_layer",
1110
"beacon_node/genesis",
1211
"beacon_node/http_api",
@@ -72,7 +71,6 @@ members = [
7271
"slasher",
7372
"slasher/service",
7473
"testing/ef_tests",
75-
"testing/eth1_test_rig",
7674
"testing/execution_engine_integration",
7775
"testing/node_test_rig",
7876
"testing/simulator",
@@ -138,8 +136,6 @@ doppelganger_service = { path = "validator_client/doppelganger_service" }
138136
either = "1.9"
139137
env_logger = "0.9"
140138
environment = { path = "lighthouse/environment" }
141-
eth1 = { path = "beacon_node/eth1" }
142-
eth1_test_rig = { path = "testing/eth1_test_rig" }
143139
eth2 = { path = "common/eth2" }
144140
eth2_config = { path = "common/eth2_config" }
145141
eth2_key_derivation = { path = "crypto/eth2_key_derivation" }

beacon_node/beacon_chain/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ alloy-primitives = { workspace = true }
1919
bitvec = { workspace = true }
2020
bls = { workspace = true }
2121
derivative = { workspace = true }
22-
eth1 = { workspace = true }
2322
eth2 = { workspace = true }
2423
eth2_network_config = { workspace = true }
2524
ethereum_hashing = { workspace = true }

beacon_node/beacon_chain/src/attestation_verification.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ impl<T: BeaconChainTypes> Clone for IndexedUnaggregatedAttestation<'_, T> {
353353
/// A helper trait implemented on wrapper types that can be progressed to a state where they can be
354354
/// verified for application to fork choice.
355355
pub trait VerifiedAttestation<T: BeaconChainTypes>: Sized {
356-
fn attestation(&self) -> AttestationRef<T::EthSpec>;
356+
fn attestation(&self) -> AttestationRef<'_, T::EthSpec>;
357357

358358
fn indexed_attestation(&self) -> &IndexedAttestation<T::EthSpec>;
359359

@@ -366,7 +366,7 @@ pub trait VerifiedAttestation<T: BeaconChainTypes>: Sized {
366366
}
367367

368368
impl<T: BeaconChainTypes> VerifiedAttestation<T> for VerifiedAggregatedAttestation<'_, T> {
369-
fn attestation(&self) -> AttestationRef<T::EthSpec> {
369+
fn attestation(&self) -> AttestationRef<'_, T::EthSpec> {
370370
self.attestation()
371371
}
372372

@@ -376,7 +376,7 @@ impl<T: BeaconChainTypes> VerifiedAttestation<T> for VerifiedAggregatedAttestati
376376
}
377377

378378
impl<T: BeaconChainTypes> VerifiedAttestation<T> for VerifiedUnaggregatedAttestation<'_, T> {
379-
fn attestation(&self) -> AttestationRef<T::EthSpec> {
379+
fn attestation(&self) -> AttestationRef<'_, T::EthSpec> {
380380
self.attestation.to_ref()
381381
}
382382

0 commit comments

Comments
 (0)