Skip to content

Commit

Permalink
Tree hash et al
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Jan 16, 2023
1 parent 7cae5d9 commit 69bdd1d
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 29 deletions.
6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,8 @@ members = [
"consensus/fork_choice",
"consensus/proto_array",
"consensus/safe_arith",
"consensus/ssz",
"consensus/ssz_derive",
"consensus/ssz_types",
"consensus/serde_utils",
"consensus/state_processing",
"consensus/swap_or_not_shuffle",
"consensus/tree_hash",
"consensus/tree_hash_derive",

"crypto/bls",
"crypto/eth2_hashing",
Expand Down
2 changes: 1 addition & 1 deletion beacon_node/beacon_chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ethereum_ssz = "1.0.0-beta.2"
ssz_types = "1.0.0-beta.0"
ethereum_ssz_derive = "1.0.0-beta.2"
state_processing = { path = "../../consensus/state_processing" }
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
types = { path = "../../consensus/types" }
tokio = "1.14.0"
eth1 = { path = "../eth1" }
Expand Down
2 changes: 1 addition & 1 deletion beacon_node/eth1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ types = { path = "../../consensus/types"}
merkle_proof = { path = "../../consensus/merkle_proof"}
ethereum_ssz = "1.0.0-beta.2"
ethereum_ssz_derive = "1.0.0-beta.2"
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
parking_lot = "0.12.0"
slog = "2.5.2"
superstruct = "0.5.0"
Expand Down
4 changes: 2 additions & 2 deletions beacon_node/execution_layer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ eth2 = { path = "../../common/eth2" }
state_processing = { path = "../../consensus/state_processing" }
lru = "0.7.1"
exit-future = "0.2.0"
tree_hash = "0.4.1"
tree_hash_derive = { path = "../../consensus/tree_hash_derive"}
tree_hash = "1.0.0-beta.0"
tree_hash_derive = "1.0.0-beta.0"
parking_lot = "0.12.0"
slot_clock = { path = "../../common/slot_clock" }
tempfile = "3.1.0"
Expand Down
2 changes: 1 addition & 1 deletion beacon_node/genesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ state_processing = { path = "../../consensus/state_processing" }
merkle_proof = { path = "../../consensus/merkle_proof" }
ethereum_ssz = "1.0.0-beta.2"
eth2_hashing = "0.3.0"
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
tokio = { version = "1.14.0", features = ["full"] }
slog = "2.5.2"
int_to_bytes = { path = "../../consensus/int_to_bytes" }
2 changes: 1 addition & 1 deletion beacon_node/http_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ parking_lot = "0.12.0"
safe_arith = {path = "../../consensus/safe_arith"}
task_executor = { path = "../../common/task_executor" }
lru = "0.7.7"
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
sysinfo = "0.26.5"
system_health = { path = "../../common/system_health" }
directory = { path = "../../common/directory" }
Expand Down
2 changes: 1 addition & 1 deletion common/deposit_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ hex = "0.4.2"
[dependencies]
types = { path = "../../consensus/types"}
ethereum_ssz = "1.0.0-beta.2"
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
ethabi = "16.0.0"
2 changes: 1 addition & 1 deletion common/validator_dir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ filesystem = { path = "../filesystem" }
types = { path = "../../consensus/types" }
rand = "0.8.5"
deposit_contract = { path = "../deposit_contract" }
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
hex = "0.4.2"
derivative = "2.1.1"
lockfile = { path = "../lockfile" }
Expand Down
2 changes: 1 addition & 1 deletion consensus/cached_tree_hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ssz_types = "1.0.0-beta.0"
eth2_hashing = "0.3.0"
ethereum_ssz_derive = "1.0.0-beta.2"
ethereum_ssz = "1.0.0-beta.2"
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
smallvec = "1.6.1"

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions consensus/state_processing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ethereum_ssz_derive = "1.0.0-beta.2"
ssz_types = "1.0.0-beta.0"
merkle_proof = { path = "../merkle_proof" }
safe_arith = { path = "../safe_arith" }
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
types = { path = "../types", default-features = false }
rayon = "1.4.1"
eth2_hashing = "0.3.0"
Expand All @@ -39,7 +39,7 @@ arbitrary-fuzz = [
"types/arbitrary-fuzz",
"bls/arbitrary",
"merkle_proof/arbitrary",
"eth2_ssz/arbitrary",
"eth2_ssz_types/arbitrary",
"ethereum_ssz/arbitrary",
"ssz_types/arbitrary",
"tree_hash/arbitrary",
]
8 changes: 4 additions & 4 deletions consensus/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ ethereum_ssz_derive = "1.0.0-beta.2"
ssz_types = "1.0.0-beta.0"
swap_or_not_shuffle = { path = "../swap_or_not_shuffle" }
test_random_derive = { path = "../../common/test_random_derive" }
tree_hash = "0.4.1"
tree_hash_derive = "0.4.0"
tree_hash = "1.0.0-beta.0"
tree_hash_derive = "1.0.0-beta.0"
rand_xorshift = "0.3.0"
cached_tree_hash = { path = "../cached_tree_hash" }
serde_yaml = "0.8.13"
Expand Down Expand Up @@ -67,8 +67,8 @@ arbitrary-fuzz = [
"arbitrary",
"ethereum-types/arbitrary",
"bls/arbitrary",
"eth2_ssz/arbitrary",
"eth2_ssz_types/arbitrary",
"ethereum_ssz/arbitrary",
"ssz_types/arbitrary",
"swap_or_not_shuffle/arbitrary",
"tree_hash/arbitrary",
]
2 changes: 1 addition & 1 deletion crypto/bls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"

[dependencies]
ethereum_ssz = "1.0.0-beta.2"
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
milagro_bls = { git = "https://github.com/sigp/milagro_bls", tag = "v1.4.2", optional = true }
rand = "0.7.3"
serde = "1.0.116"
Expand Down
2 changes: 1 addition & 1 deletion lcli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ environment = { path = "../lighthouse/environment" }
eth2_network_config = { path = "../common/eth2_network_config" }
genesis = { path = "../beacon_node/genesis" }
deposit_contract = { path = "../common/deposit_contract" }
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
clap_utils = { path = "../common/clap_utils" }
lighthouse_network = { path = "../beacon_node/lighthouse_network" }
validator_dir = { path = "../common/validator_dir", features = ["insecure_keys"] }
Expand Down
4 changes: 2 additions & 2 deletions slasher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ serde = "1.0"
serde_derive = "1.0"
slog = "2.5.2"
sloggers = { version = "2.1.1", features = ["json"] }
tree_hash = "0.4.1"
tree_hash_derive = "0.4.0"
tree_hash = "1.0.0-beta.0"
tree_hash_derive = "1.0.0-beta.0"
types = { path = "../consensus/types" }
strum = { version = "0.24.1", features = ["derive"] }

Expand Down
4 changes: 2 additions & 2 deletions testing/ef_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ serde_repr = "0.1.6"
serde_yaml = "0.8.13"
ethereum_ssz = "1.0.0-beta.2"
ethereum_ssz_derive = "1.0.0-beta.2"
tree_hash = "0.4.1"
tree_hash_derive = "0.4.0"
tree_hash = "1.0.0-beta.0"
tree_hash_derive = "1.0.0-beta.0"
cached_tree_hash = { path = "../../consensus/cached_tree_hash" }
state_processing = { path = "../../consensus/state_processing" }
swap_or_not_shuffle = { path = "../../consensus/swap_or_not_shuffle" }
Expand Down
2 changes: 1 addition & 1 deletion validator_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tokio = { version = "1.14.0", features = ["time", "rt-multi-thread", "macros"] }
logging = { path = "../common/logging" }

[dependencies]
tree_hash = "0.4.1"
tree_hash = "1.0.0-beta.0"
clap = "2.33.3"
slashing_protection = { path = "./slashing_protection" }
slot_clock = { path = "../common/slot_clock" }
Expand Down

0 comments on commit 69bdd1d

Please sign in to comment.