forked from Bavax83/SafeStakeOperator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
161 lines (140 loc) · 5.95 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[package]
name = "dvf"
version = "1.1.0"
authors = ["Zico <[email protected]"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
miracl_core = { version = "2.7.0", features = ["bls12381"] }
num-bigint = { version = "0.4.0", features = ["rand"] }
num-traits = "0.2.8"
array-init = "2.0.0"
aes-gcm = "0.9.4"
enr = { version = "0.9.1", features = ["k256", "ed25519", "rust-secp256k1"] }
secp256k1 = { version = "0.24.0", features = ["alloc", "rand", "serde"] }
sha256 = "1.0.3"
rayon = "1.4.1"
blst = "0.3.3"
# eth2_hashing = "0.3.0"
ethereum_hashing = "1.0.0-beta.2"
types = { path = "lighthouse/consensus/types" }
# common
dvf_version = { path = "common/dvf_version" }
dvf_directory = { path = "common/dvf_directory" }
# hotstuff
hscrypto = { path = "hotstuff/crypto", package = "crypto" }
hsutils = { path = "hotstuff/utils", package = "utils" }
store = { path = "hotstuff/store" }
consensus = { path = "hotstuff/consensus" }
mempool = { path = "hotstuff/mempool" }
network = { path = "hotstuff/network" }
hsconfig = { path = "hotstuff/config", package = "hotstuff_config" }
async-trait = "0.1.51"
tokio-util = { version = "0.7.7", features = ["codec"] }
bytes = "1.0.1"
downcast-rs = "1.2.0"
chrono = "0.4.20"
tree_hash = "0.5"
tree_hash_derive = "0.5"
clap = "2.33.3"
slashing_protection = { path = "lighthouse/validator_client/slashing_protection" }
slot_clock = { path = "lighthouse/common/slot_clock" }
safe_arith = { path = "lighthouse/consensus/safe_arith" }
serde = "1.0.116"
serde_derive = "1.0.116"
serde_yaml = "0.8.13"
bincode = "1.3.1"
serde_json = "1.0.58"
slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_trace"] }
tokio = { version = "1.26.0", features = ["time", "rt-multi-thread", "tracing"] }
env_logger = "0.8.2"
log = "0.4.0"
tracing = { version = "0.1.37" }
tracing-subscriber = { version = "0.3.16", features = ["json"] }
tracing-test = "0.2.4"
dirs = "3.0.1"
directory = { path = "lighthouse/common/directory" }
lockfile = { path = "lighthouse/common/lockfile" }
environment = { path = "lighthouse/lighthouse/environment" }
parking_lot = { version = "0.12.0", features = ["send_guard"] }
exit-future = "0.2.0"
filesystem = { path = "lighthouse/common/filesystem" }
hex = "0.4.2"
deposit_contract = { path = "lighthouse/common/deposit_contract" }
bls = { path = "lighthouse/crypto/bls" }
eth2 = { path = "lighthouse/common/eth2" }
tempfile = "3.1.0"
validator_dir = { path = "lighthouse/common/validator_dir", features = ["insecure_keys"] }
clap_utils = { path = "lighthouse/common/clap_utils" }
eth2_keystore = { path = "lighthouse/crypto/eth2_keystore" }
account_utils = { path = "lighthouse/common/account_utils" }
lighthouse_version = { path = "lighthouse/common/lighthouse_version" }
warp_utils = { path = "lighthouse/common/warp_utils" }
# warp = "0.3.6"
warp = { git = "https://github.com/seanmonstar/warp.git", default-features = false, features = ["tls"] }
hyper = "0.14.4"
# eth2_serde_utils = "0.1.1"
ethereum_serde_utils = "0.5"
libsecp256k1 = "0.7.0"
ring = "0.16.19"
rand = { version = "0.8.5", features = ["small_rng"] }
lighthouse_metrics = { path = "lighthouse/common/lighthouse_metrics" }
lighthouse_network = { path = "lighthouse/beacon_node/lighthouse_network"}
lazy_static = "1.4.0"
itertools = "0.10.0"
monitoring_api = { path = "lighthouse/common/monitoring_api" }
sensitive_url = { path = "lighthouse/common/sensitive_url" }
task_executor = { path = "lighthouse/common/task_executor" }
eth2_wallet = { path = "lighthouse/crypto/eth2_wallet" }
reqwest = { version = "0.11.0", features = ["json", "stream"] }
url = "2.2.2"
regex = "1.5.5"
rpassword = "5.0.0"
zeroize = { version = "1.4.2", features = ["zeroize_derive"] }
eth2_network_config = { path = "lighthouse/common/eth2_network_config" }
malloc_utils = { path = "lighthouse/common/malloc_utils" }
boot_node = { path = "lighthouse/boot_node" }
beacon_node = { path = "lighthouse/beacon_node" }
database_manager = { path = "lighthouse/database_manager" }
account_manager = { "path" = "lighthouse/account_manager" }
# discv5 = "0.1.0"
base64 = "0.13.0"
web3 = "0.19.0"
#rusqlite = "0.25.4"
rusqlite = "0.28.0"
futures = "0.3.28"
# async-std = "1.12.0"
libp2p = { version = "0.52", features = ["full"] }
libp2p-core = "0.40"
multiaddr = { version = "0.17.1" }
#libp2p-quic = "0.7.0-alpha.3"
libp2p-quic = { version = "0.9.2", features = ["tokio"] }
hmac = "0.11.0"
pbkdf2 = { version = "0.8.0", default-features = false }
scrypt = { version = "0.7.0", default-features = false }
sha2 = "0.9.2"
keccak-hash = "0.10.0"
[patch]
[patch.crates-io]
fixed-hash = { git = "https://github.com/paritytech/parity-common", rev = "df638ab0885293d21d656dc300d39236b69ce57d" }
# warp = { git = "https://github.com/macladson/warp", rev = "7e75acc368229a46a236a8c991bf251fe7fe50ef" }
# eth2_ssz = { path = "lighthouse/consensus/ssz" }
# eth2_ssz_derive = { path = "lighthouse/consensus/ssz_derive" }
# eth2_ssz_types = { path = "lighthouse/consensus/ssz_types" }
# eth2_hashing = { path = "lighthouse/crypto/eth2_hashing" }
# tree_hash = { path = "lighthouse/consensus/tree_hash" }
# tree_hash_derive = { path = "lighthouse/consensus/tree_hash_derive" }
# eth2_serde_utils = { path = "lighthouse/consensus/serde_utils" }
arbitrary = { git = "https://github.com/michaelsproul/arbitrary", rev = "a572fd8743012a4f1ada5ee5968b1b3619c427ba" }
# [patch."https://github.com/ralexstokes/mev-rs"]
# mev-rs = { git = "https://github.com/ralexstokes//mev-rs", rev = "7813d4a4a564e0754e9aaab2d95520ba437c3889" }
# [patch."https://github.com/ralexstokes/ethereum-consensus"]
# ethereum-consensus = { git = "https://github.com/ralexstokes//ethereum-consensus", rev = "9b0ee0a8a45b968c8df5e7e64ea1c094e16f053d" }
# [patch."https://github.com/ralexstokes/ssz-rs"]
# ssz-rs = { git = "https://github.com/ralexstokes//ssz-rs", rev = "adf1a0b14cef90b9536f28ef89da1fab316465e1" }
[features]
default = ["hotstuff_committee"]
fake_committee = []
hotstuff_committee = []
[dev-dependencies]
tokio-test = "*"