Skip to content

Commit 257d8d7

Browse files
committed
Merge remote-tracking branch 'origin/unstable' into gloas-containers
2 parents f4b184b + afa6457 commit 257d8d7

File tree

246 files changed

+2722
-1786
lines changed

Some content is hidden

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

246 files changed

+2722
-1786
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,15 @@ version = "8.0.1"
9595

9696
[workspace.dependencies]
9797
account_utils = { path = "common/account_utils" }
98-
alloy-consensus = { version = "=1.0.42", default-features = false }
99-
alloy-primitives = { version = "=1.4.1", default-features = false, features = ["rlp", "getrandom"] }
100-
alloy-rlp = { version = "=0.3.12", default-features = false }
101-
alloy-rpc-types-eth = { version = "=1.0.42", default-features = false, features = ["serde"] }
98+
alloy-consensus = { version = "1", default-features = false }
99+
alloy-dyn-abi = { version = "1", default-features = false }
100+
alloy-json-abi = { version = "1", default-features = false }
101+
alloy-network = { version = "1", default-features = false }
102+
alloy-primitives = { version = "1", default-features = false, features = ["rlp", "getrandom"] }
103+
alloy-provider = { version = "1", default-features = false, features = ["reqwest"] }
104+
alloy-rlp = { version = "0.3", default-features = false }
105+
alloy-rpc-types-eth = { version = "1", default-features = false, features = ["serde"] }
106+
alloy-signer-local = { version = "1", default-features = false }
102107
anyhow = "1"
103108
arbitrary = { version = "1", features = ["derive"] }
104109
async-channel = "1.9.0"
@@ -230,10 +235,10 @@ snap = "1"
230235
ssz_types = { version = "0.14.0", features = ["context_deserialize", "runtime_types"] }
231236
state_processing = { path = "consensus/state_processing" }
232237
store = { path = "beacon_node/store" }
233-
strum = { version = "0.24", features = ["derive"] }
238+
strum = { version = "0.27", features = ["derive"] }
234239
superstruct = "0.10"
235240
swap_or_not_shuffle = { path = "consensus/swap_or_not_shuffle" }
236-
syn = "1"
241+
syn = "2"
237242
sysinfo = "0.26"
238243
system_health = { path = "common/system_health" }
239244
task_executor = { path = "common/task_executor" }
@@ -254,6 +259,7 @@ tracing-opentelemetry = "0.31.0"
254259
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
255260
tree_hash = "0.12.0"
256261
tree_hash_derive = "0.12.0"
262+
typenum = "1"
257263
types = { path = "consensus/types" }
258264
url = "2"
259265
uuid = { version = "0.8", features = ["serde", "v4"] }

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
EF_TESTS = "testing/ef_tests"
44
STATE_TRANSITION_VECTORS = "testing/state_transition_vectors"
55
EXECUTION_ENGINE_INTEGRATION = "testing/execution_engine_integration"
6-
GIT_TAG := $(shell git describe --tags --candidates 1)
6+
GIT_TAG = $(shell git describe --tags --candidates 1)
77
BIN_DIR = "bin"
88

99
X86_64_TAG = "x86_64-unknown-linux-gnu"

account_manager/src/validator/slashing_protection.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
use bls::PublicKeyBytes;
12
use clap::{Arg, ArgAction, ArgMatches, Command};
23
use environment::Environment;
34
use slashing_protection::{
@@ -7,7 +8,7 @@ use slashing_protection::{
78
use std::fs::File;
89
use std::path::PathBuf;
910
use std::str::FromStr;
10-
use types::{Epoch, EthSpec, PublicKeyBytes, Slot};
11+
use types::{Epoch, EthSpec, Slot};
1112

1213
pub const CMD: &str = "slashing-protection";
1314
pub const IMPORT_CMD: &str = "import";

beacon_node/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ testing = [] # Enables testing-only CLI flags
2020
[dependencies]
2121
account_utils = { workspace = true }
2222
beacon_chain = { workspace = true }
23+
bls = { workspace = true }
2324
clap = { workspace = true }
2425
clap_utils = { workspace = true }
2526
client = { path = "client" }

beacon_node/beacon_chain/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ alloy-primitives = { workspace = true }
1919
bitvec = { workspace = true }
2020
bls = { workspace = true }
2121
educe = { workspace = true }
22-
eth2 = { workspace = true }
22+
eth2 = { workspace = true, features = ["lighthouse"] }
2323
eth2_network_config = { workspace = true }
2424
ethereum_hashing = { workspace = true }
2525
ethereum_serde_utils = { workspace = true }
2626
ethereum_ssz = { workspace = true }
2727
ethereum_ssz_derive = { workspace = true }
2828
execution_layer = { workspace = true }
29+
fixed_bytes = { workspace = true }
2930
fork_choice = { workspace = true }
3031
futures = { workspace = true }
3132
genesis = { workspace = true }
@@ -39,6 +40,7 @@ logging = { workspace = true }
3940
lru = { workspace = true }
4041
merkle_proof = { workspace = true }
4142
metrics = { workspace = true }
43+
milhouse = { workspace = true }
4244
once_cell = { workspace = true }
4345
oneshot_broadcast = { path = "../../common/oneshot_broadcast/" }
4446
operation_pool = { workspace = true }
@@ -65,6 +67,7 @@ tokio-stream = { workspace = true }
6567
tracing = { workspace = true }
6668
tree_hash = { workspace = true }
6769
tree_hash_derive = { workspace = true }
70+
typenum = { workspace = true }
6871
types = { workspace = true }
6972
zstd = { workspace = true }
7073

beacon_node/beacon_chain/src/attester_cache.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
//! and penalties can be computed and the `state.current_justified_checkpoint` can be updated.
1111
1212
use crate::{BeaconChain, BeaconChainError, BeaconChainTypes};
13+
use fixed_bytes::FixedBytesExtended;
1314
use parking_lot::RwLock;
1415
use state_processing::state_advance::{Error as StateAdvanceError, partial_state_advance};
1516
use std::collections::HashMap;
1617
use std::ops::Range;
1718
use types::{
18-
BeaconState, BeaconStateError, ChainSpec, Checkpoint, Epoch, EthSpec, FixedBytesExtended,
19-
Hash256, RelativeEpoch, Slot,
19+
BeaconState, BeaconStateError, ChainSpec, Checkpoint, Epoch, EthSpec, Hash256, RelativeEpoch,
20+
Slot,
2021
attestation::AttestationError,
2122
beacon_state::{
2223
compute_committee_index_in_epoch, compute_committee_range_in_epoch, epoch_committee_count,

beacon_node/beacon_chain/src/beacon_block_streamer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -685,13 +685,13 @@ impl From<Error> for BeaconChainError {
685685
mod tests {
686686
use crate::beacon_block_streamer::{BeaconBlockStreamer, CheckCaches};
687687
use crate::test_utils::{BeaconChainHarness, EphemeralHarnessType, test_spec};
688+
use bls::Keypair;
688689
use execution_layer::test_utils::Block;
690+
use fixed_bytes::FixedBytesExtended;
689691
use std::sync::Arc;
690692
use std::sync::LazyLock;
691693
use tokio::sync::mpsc;
692-
use types::{
693-
ChainSpec, Epoch, EthSpec, FixedBytesExtended, Hash256, Keypair, MinimalEthSpec, Slot,
694-
};
694+
use types::{ChainSpec, Epoch, EthSpec, Hash256, MinimalEthSpec, Slot};
695695

696696
const VALIDATOR_COUNT: usize = 48;
697697

beacon_node/beacon_chain/src/beacon_chain.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ use crate::{
7474
AvailabilityPendingExecutedBlock, BeaconChainError, BeaconForkChoiceStore, BeaconSnapshot,
7575
CachedHead, metrics,
7676
};
77+
use bls::{PublicKey, PublicKeyBytes, Signature};
7778
use eth2::beacon_response::ForkVersionedResponse;
7879
use eth2::types::{
7980
EventKind, SseBlobSidecar, SseBlock, SseDataColumnSidecar, SseExtendedPayloadAttributes,
@@ -82,6 +83,7 @@ use execution_layer::{
8283
BlockProposalContents, BlockProposalContentsType, BuilderParams, ChainHealth, ExecutionLayer,
8384
FailedCondition, PayloadAttributes, PayloadStatus,
8485
};
86+
use fixed_bytes::FixedBytesExtended;
8587
use fork_choice::{
8688
AttestationFromBlock, ExecutionStatus, ForkChoice, ForkchoiceUpdateParameters,
8789
InvalidationOperation, PayloadVerificationStatus, ResetPayloadStatuses,

beacon_node/beacon_chain/src/beacon_fork_choice_store.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
use crate::{BeaconSnapshot, metrics};
88
use educe::Educe;
9+
use fixed_bytes::FixedBytesExtended;
910
use fork_choice::ForkChoiceStore;
1011
use proto_array::JustifiedBalances;
1112
use safe_arith::ArithError;
@@ -17,7 +18,7 @@ use store::{Error as StoreError, HotColdDB, ItemStore};
1718
use superstruct::superstruct;
1819
use types::{
1920
AbstractExecPayload, BeaconBlockRef, BeaconState, BeaconStateError, Checkpoint, Epoch, EthSpec,
20-
FixedBytesExtended, Hash256, Slot,
21+
Hash256, Slot,
2122
};
2223

2324
#[derive(Debug)]

0 commit comments

Comments
 (0)