b4689e20c6
## Proposed Changes Implement the consensus changes necessary for the upcoming Altair hard fork. ## Additional Info This is quite a heavy refactor, with pivotal types like the `BeaconState` and `BeaconBlock` changing from structs to enums. This ripples through the whole codebase with field accesses changing to methods, e.g. `state.slot` => `state.slot()`. Co-authored-by: realbigsean <seananderson33@gmail.com>
66 lines
2.1 KiB
TOML
66 lines
2.1 KiB
TOML
[package]
|
|
name = "beacon_chain"
|
|
version = "0.2.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = ["participation_metrics"]
|
|
write_ssz_files = [] # Writes debugging .ssz files to /tmp during block processing.
|
|
participation_metrics = [] # Exposes validator participation metrics to Prometheus.
|
|
test_logger = [] # Print log output to stderr when running tests instead of dropping it
|
|
fork_from_env = [] # Initialise the harness chain spec from the FORK_NAME env variable
|
|
|
|
[dev-dependencies]
|
|
maplit = "1.0.2"
|
|
environment = { path = "../../lighthouse/environment" }
|
|
|
|
[dependencies]
|
|
eth2_config = { path = "../../common/eth2_config" }
|
|
merkle_proof = { path = "../../consensus/merkle_proof" }
|
|
store = { path = "../store" }
|
|
parking_lot = "0.11.0"
|
|
lazy_static = "1.4.0"
|
|
smallvec = "1.6.1"
|
|
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
|
|
log = "0.4.11"
|
|
operation_pool = { path = "../operation_pool" }
|
|
rayon = "1.4.1"
|
|
serde = "1.0.116"
|
|
serde_derive = "1.0.116"
|
|
serde_yaml = "0.8.13"
|
|
serde_json = "1.0.58"
|
|
slog = { version = "2.5.2", features = ["max_level_trace"] }
|
|
sloggers = "1.0.1"
|
|
slot_clock = { path = "../../common/slot_clock" }
|
|
eth2_hashing = "0.1.0"
|
|
eth2_ssz = "0.1.2"
|
|
eth2_ssz_types = { path = "../../consensus/ssz_types" }
|
|
eth2_ssz_derive = "0.1.0"
|
|
state_processing = { path = "../../consensus/state_processing" }
|
|
tree_hash = "0.1.1"
|
|
types = { path = "../../consensus/types" }
|
|
tokio = "1.1.0"
|
|
eth1 = { path = "../eth1" }
|
|
futures = "0.3.7"
|
|
genesis = { path = "../genesis" }
|
|
integer-sqrt = "0.1.5"
|
|
int_to_bytes = { path = "../../consensus/int_to_bytes" }
|
|
rand = "0.7.3"
|
|
rand_core = "0.6.2"
|
|
proto_array = { path = "../../consensus/proto_array" }
|
|
lru = "0.6.0"
|
|
tempfile = "3.1.0"
|
|
bitvec = "0.19.3"
|
|
bls = { path = "../../crypto/bls" }
|
|
safe_arith = { path = "../../consensus/safe_arith" }
|
|
fork_choice = { path = "../../consensus/fork_choice" }
|
|
task_executor = { path = "../../common/task_executor" }
|
|
derivative = "2.1.1"
|
|
itertools = "0.10.0"
|
|
regex = "1.3.9"
|
|
exit-future = "0.2.0"
|
|
slasher = { path = "../../slasher" }
|
|
eth2 = { path = "../../common/eth2" }
|
|
strum = { version = "0.20", features = ["derive"] }
|