Skip to content

Commit f656e21

Browse files
committed
Merge branch 'unstable' into das
2 parents 7108c74 + 32be063 commit f656e21

File tree

491 files changed

+10870
-6483
lines changed

Some content is hidden

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

491 files changed

+10870
-6483
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ members = [
99
"beacon_node/client",
1010
"beacon_node/eth1",
1111
"beacon_node/lighthouse_network",
12+
"beacon_node/lighthouse_network/gossipsub",
1213
"beacon_node/execution_layer",
1314
"beacon_node/http_api",
1415
"beacon_node/http_metrics",
@@ -200,6 +201,7 @@ execution_layer = { path = "beacon_node/execution_layer" }
200201
filesystem = { path = "common/filesystem" }
201202
fork_choice = { path = "consensus/fork_choice" }
202203
genesis = { path = "beacon_node/genesis" }
204+
gossipsub = { path = "beacon_node/lighthouse_network/gossipsub/" }
203205
http_api = { path = "beacon_node/http_api" }
204206
int_to_bytes = { path = "consensus/int_to_bytes" }
205207
kzg = { path = "crypto/kzg" }

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ PROFILE ?= release
3939

4040
# List of all hard forks. This list is used to set env variables for several tests so that
4141
# they run for different forks.
42-
FORKS=phase0 altair merge capella deneb
42+
FORKS=phase0 altair merge capella deneb electra
4343

4444
# Extra flags for Cargo
4545
CARGO_INSTALL_EXTRA_FLAGS?=

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ as the canonical staking deposit contract address.
4141
The [Lighthouse Book](https://lighthouse-book.sigmaprime.io) contains information for users and
4242
developers.
4343

44-
The Lighthouse team maintains a blog at [lighthouse-blog.sigmaprime.io][blog] which contains periodical
44+
The Lighthouse team maintains a blog at [lighthouse-blog.sigmaprime.io][blog] which contains periodic
4545
progress updates, roadmap insights and interesting findings.
4646

4747
## Branches

account_manager/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ Simply run `./account_manager generate` to generate a new random private key,
2929
which will be automatically saved to the correct directory.
3030

3131
If you prefer to use our "deterministic" keys for testing purposes, simply
32-
run `./accounts_manager generate_deterministic -i <index>`, where `index` is
32+
run `./account_manager generate_deterministic -i <index>`, where `index` is
3333
the validator index for the key. This will reliably produce the same key each time
34-
and save it to the directory.
34+
and save it to the directory.

account_manager/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
2222
}
2323

2424
/// Run the account manager, returning an error if the operation did not succeed.
25-
pub fn run<T: EthSpec>(matches: &ArgMatches<'_>, env: Environment<T>) -> Result<(), String> {
25+
pub fn run<E: EthSpec>(matches: &ArgMatches<'_>, env: Environment<E>) -> Result<(), String> {
2626
match matches.subcommand() {
2727
(wallet::CMD, Some(matches)) => wallet::cli_run(matches)?,
2828
(validator::CMD, Some(matches)) => validator::cli_run(matches, env)?,

account_manager/src/validator/create.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
112112
)
113113
}
114114

115-
pub fn cli_run<T: EthSpec>(
115+
pub fn cli_run<E: EthSpec>(
116116
matches: &ArgMatches,
117-
env: Environment<T>,
117+
env: Environment<E>,
118118
validator_dir: PathBuf,
119119
) -> Result<(), String> {
120120
let spec = env.core_context().eth2_config.spec;

account_manager/src/validator/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
3939
.subcommand(exit::cli_app())
4040
}
4141

42-
pub fn cli_run<T: EthSpec>(matches: &ArgMatches, env: Environment<T>) -> Result<(), String> {
42+
pub fn cli_run<E: EthSpec>(matches: &ArgMatches, env: Environment<E>) -> Result<(), String> {
4343
let validator_base_dir = if matches.value_of("datadir").is_some() {
4444
let path: PathBuf = clap_utils::parse_required(matches, "datadir")?;
4545
path.join(DEFAULT_VALIDATOR_DIR)
@@ -49,7 +49,7 @@ pub fn cli_run<T: EthSpec>(matches: &ArgMatches, env: Environment<T>) -> Result<
4949
eprintln!("validator-dir path: {:?}", validator_base_dir);
5050

5151
match matches.subcommand() {
52-
(create::CMD, Some(matches)) => create::cli_run::<T>(matches, env, validator_base_dir),
52+
(create::CMD, Some(matches)) => create::cli_run::<E>(matches, env, validator_base_dir),
5353
(modify::CMD, Some(matches)) => modify::cli_run(matches, validator_base_dir),
5454
(import::CMD, Some(matches)) => import::cli_run(matches, validator_base_dir),
5555
(list::CMD, Some(_)) => list::cli_run(validator_base_dir),

account_manager/src/validator/slashing_protection.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
5353
)
5454
}
5555

56-
pub fn cli_run<T: EthSpec>(
56+
pub fn cli_run<E: EthSpec>(
5757
matches: &ArgMatches<'_>,
58-
env: Environment<T>,
58+
env: Environment<E>,
5959
validator_base_dir: PathBuf,
6060
) -> Result<(), String> {
6161
let slashing_protection_db_path = validator_base_dir.join(SLASHING_PROTECTION_FILENAME);
@@ -64,7 +64,7 @@ pub fn cli_run<T: EthSpec>(
6464
.ok_or("Unable to get testnet configuration from the environment")?;
6565

6666
let genesis_validators_root = eth2_network_config
67-
.genesis_validators_root::<T>()?
67+
.genesis_validators_root::<E>()?
6868
.ok_or_else(|| "Unable to get genesis state, has genesis occurred?".to_string())?;
6969

7070
match matches.subcommand() {

beacon_node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "beacon_node"
3-
version = "5.1.1"
3+
version = "5.1.3"
44
authors = [
55
"Paul Hauner <[email protected]>",
66
"Age Manning <[email protected]",

0 commit comments

Comments
 (0)