Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kintsugi 🍵 #2768

Merged
merged 46 commits into from
Dec 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
5687c56
Initial merge changes
ethDreamer Sep 8, 2021
cce855f
Fix consensus, SSZ, tree hash & run merge EF tests (#2622)
michaelsproul Sep 24, 2021
c10e8ce
Fix clippy lints on merge-f2f (#2626)
paulhauner Sep 25, 2021
10b263f
Update merge consensus to v1.1.0-beta.5 (#2630)
michaelsproul Sep 26, 2021
18eee2d
Handle merge fork in web3signer (#2631)
paulhauner Sep 27, 2021
fd82819
Update test vectors to v1.1.0 (#2642)
michaelsproul Sep 28, 2021
aa534f8
Store execution block hash in fork choice (#2643)
realbigsean Sep 28, 2021
fe945bc
Fork boundary fix (#2646)
ethDreamer Sep 28, 2021
1563bce
Finished Gossip Block Validation Conditions (#2640)
ethDreamer Sep 28, 2021
d8623cf
[Merge] Implement `execution_layer` (#2635)
paulhauner Sep 29, 2021
20ca7a5
[Merge] Add serde impls for `Transactions` type (#2649)
paulhauner Sep 30, 2021
0103193
[Merge] Add execution API test vectors from Geth (#2651)
paulhauner Oct 1, 2021
5efb7ae
add automated docker build for merge-f2f branch (#2654)
realbigsean Oct 1, 2021
471cf10
Add merge fork_epoch and fork_version to Config (#2663)
pawanjay176 Oct 1, 2021
801f6f7
Disable autotests for beacon_chain (#2658)
paulhauner Oct 1, 2021
a1033a9
Add `BeaconChainHarness` tests for The Merge (#2661)
paulhauner Oct 2, 2021
b162b06
Misc changes for merge testnets (#2667)
paulhauner Oct 2, 2021
52e5083
Fixed bugs for m3 readiness (#2669)
ethDreamer Oct 4, 2021
7975cef
Update lcli pubkey replace command (#2677)
paulhauner Oct 6, 2021
d6fda44
Disable notifier logging from dummy eth1 backend (#2680)
paulhauner Oct 6, 2021
35350df
[Merge] Block validator duties when EL is not ready (#2672)
paulhauner Oct 6, 2021
67a6f91
[Merge] Optimistic EL verification (#2683)
paulhauner Oct 6, 2021
aa1d57a
Fix db paths when datadir is relative (#2682)
pawanjay176 Oct 6, 2021
6dde12f
[Merge] Optimistic Sync: Stage 1 (#2686)
paulhauner Oct 7, 2021
d8eec16
v1.1.1 spec updates (#2684)
realbigsean Oct 8, 2021
6b4cc63
Accept TTD override as decimal (#2676)
paulhauner Oct 11, 2021
86e0c56
Kintsugi rebase patches (#2769)
paulhauner Nov 3, 2021
cee18ca
Move merge-f2f docker to kintsugi (#2774)
paulhauner Nov 4, 2021
cdbe603
Fix arbitrary check kintsugi (#2777)
realbigsean Nov 5, 2021
de49c7d
1.1.5 merge spec tests (#2781)
realbigsean Nov 10, 2021
24966c0
Fix Uint256 deserialization (#2786)
pawanjay176 Nov 10, 2021
eb35c64
Remove old uses of testnet
paulhauner Nov 11, 2021
cbd2201
Fixes after rebasing Kintsugi onto unstable (#2799)
paulhauner Nov 15, 2021
cdfd130
Skip memory intensive engine test (#2809)
paulhauner Nov 15, 2021
47db682
Implement engine API v1.0.0-alpha.4 (#2810)
paulhauner Nov 15, 2021
afe59af
Ensure difficulty/hash/epoch overrides change the `ChainSpec` (#2798)
paulhauner Nov 16, 2021
44a7b37
Increase network limits (#2796)
pawanjay176 Nov 9, 2021
5f0fef2
Kintsugi on_merge_block tests (#2811)
paulhauner Nov 17, 2021
f674853
Removed PowBlock struct that never got used (#2813)
ethDreamer Nov 17, 2021
82a8152
Bump crate versions (#2829)
paulhauner Nov 29, 2021
1b56ebf
Kintsugi review comments (#2831)
paulhauner Nov 29, 2021
c2f2813
Cleanup Comments & Fix get_pow_block_hash_at_ttd() (#2835)
ethDreamer Nov 30, 2021
ab86b42
Kintsugi Diva comments (#2836)
paulhauner Nov 30, 2021
94385fe
Support legacy data directories (#2846)
paulhauner Dec 1, 2021
144978f
Remove duplicate slot_clock method (#2842)
paulhauner Dec 1, 2021
f3c237c
Restrict network limits based on merge fork epoch (#2839)
pawanjay176 Dec 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
309 changes: 199 additions & 110 deletions Cargo.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ members = [
"beacon_node/client",
"beacon_node/eth1",
"beacon_node/lighthouse_network",
"beacon_node/execution_layer",
"beacon_node/http_api",
"beacon_node/http_metrics",
"beacon_node/network",
Expand Down Expand Up @@ -87,3 +88,7 @@ members = [
[patch.crates-io]
fixed-hash = { git = "https://github.com/paritytech/parity-common", rev="df638ab0885293d21d656dc300d39236b69ce57d" }
warp = { git = "https://github.com/macladson/warp", rev ="7e75acc" }
eth2_ssz = { path = "consensus/ssz" }
eth2_ssz_types = { path = "consensus/ssz_types" }
tree_hash = { path = "consensus/tree_hash" }
eth2_serde_utils = { path = "consensus/serde_utils" }
10 changes: 5 additions & 5 deletions account_manager/src/validator/exit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ pub fn cli_run<E: EthSpec>(matches: &ArgMatches, env: Environment<E>) -> Result<
Timeouts::set_all(Duration::from_secs(env.eth2_config.spec.seconds_per_slot)),
);

let testnet_config = env
.testnet
let eth2_network_config = env
.eth2_network_config
.clone()
.expect("network should have a valid config");

Expand All @@ -95,7 +95,7 @@ pub fn cli_run<E: EthSpec>(matches: &ArgMatches, env: Environment<E>) -> Result<
&client,
&spec,
stdin_inputs,
&testnet_config,
&eth2_network_config,
no_wait,
))?;

Expand All @@ -109,11 +109,11 @@ async fn publish_voluntary_exit<E: EthSpec>(
client: &BeaconNodeHttpClient,
spec: &ChainSpec,
stdin_inputs: bool,
testnet_config: &Eth2NetworkConfig,
eth2_network_config: &Eth2NetworkConfig,
no_wait: bool,
) -> Result<(), String> {
let genesis_data = get_geneisis_data(client).await?;
let testnet_genesis_root = testnet_config
let testnet_genesis_root = eth2_network_config
.beacon_state::<E>()
.as_ref()
.expect("network should have valid genesis state")
Expand Down
6 changes: 3 additions & 3 deletions account_manager/src/validator/slashing_protection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ pub fn cli_run<T: EthSpec>(
) -> Result<(), String> {
let slashing_protection_db_path = validator_base_dir.join(SLASHING_PROTECTION_FILENAME);

let testnet_config = env
.testnet
let eth2_network_config = env
.eth2_network_config
.ok_or("Unable to get testnet configuration from the environment")?;

let genesis_validators_root = testnet_config
let genesis_validators_root = eth2_network_config
.beacon_state::<T>()
.map(|state: BeaconState<T>| state.genesis_validators_root())
.map_err(|e| {
Expand Down
13 changes: 10 additions & 3 deletions beacon_node/beacon_chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "beacon_chain"
version = "0.2.0"
authors = ["Paul Hauner <[email protected]>", "Age Manning <[email protected]>"]
edition = "2018"
autotests = false # using a single test binary compiles faster

[features]
default = ["participation_metrics"]
Expand All @@ -29,11 +30,11 @@ slog = { version = "2.5.2", features = ["max_level_trace"] }
sloggers = { version = "2.1.1", features = ["json"] }
slot_clock = { path = "../../common/slot_clock" }
eth2_hashing = "0.2.0"
eth2_ssz = "0.4.0"
eth2_ssz_types = "0.2.1"
eth2_ssz = "0.4.1"
eth2_ssz_types = "0.2.2"
eth2_ssz_derive = "0.3.0"
state_processing = { path = "../../consensus/state_processing" }
tree_hash = "0.4.0"
tree_hash = "0.4.1"
types = { path = "../../consensus/types" }
tokio = "1.14.0"
eth1 = { path = "../eth1" }
Expand All @@ -55,3 +56,9 @@ slasher = { path = "../../slasher" }
eth2 = { path = "../../common/eth2" }
strum = { version = "0.21.0", features = ["derive"] }
logging = { path = "../../common/logging" }
execution_layer = { path = "../execution_layer" }
sensitive_url = { path = "../../common/sensitive_url" }

[[test]]
name = "beacon_chain_tests"
path = "tests/main.rs"
Loading