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>
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "state_processing"
|
|
version = "0.2.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Michael Sproul <michael@sigmaprime.io>"]
|
|
edition = "2018"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.8.2"
|
|
serde = "1.0.116"
|
|
serde_derive = "1.0.116"
|
|
lazy_static = "1.4.0"
|
|
serde_yaml = "0.8.13"
|
|
beacon_chain = { path = "../../beacon_node/beacon_chain" }
|
|
|
|
[dependencies]
|
|
bls = { path = "../../crypto/bls" }
|
|
integer-sqrt = "0.1.5"
|
|
itertools = "0.10.0"
|
|
eth2_ssz = "0.1.2"
|
|
eth2_ssz_types = { path = "../ssz_types" }
|
|
merkle_proof = { path = "../merkle_proof" }
|
|
log = "0.4.11"
|
|
safe_arith = { path = "../safe_arith" }
|
|
tree_hash = "0.1.1"
|
|
tree_hash_derive = "0.2.0"
|
|
types = { path = "../types", default-features = false }
|
|
rayon = "1.4.1"
|
|
eth2_hashing = "0.1.0"
|
|
int_to_bytes = { path = "../int_to_bytes" }
|
|
smallvec = "1.6.1"
|
|
arbitrary = { version = "0.4.6", features = ["derive"], optional = true }
|
|
|
|
[features]
|
|
default = ["legacy-arith"]
|
|
fake_crypto = ["bls/fake_crypto"]
|
|
legacy-arith = ["types/legacy-arith"]
|
|
arbitrary-fuzz = [
|
|
"arbitrary",
|
|
"types/arbitrary-fuzz",
|
|
"bls/arbitrary",
|
|
"merkle_proof/arbitrary",
|
|
"eth2_ssz/arbitrary",
|
|
"eth2_ssz_types/arbitrary",
|
|
"tree_hash/arbitrary",
|
|
]
|