mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-16 20:39:10 +00:00
Merge unstable 20230925 into deneb-free-blobs.
This commit is contained in:
@@ -2,71 +2,70 @@
|
||||
name = "types"
|
||||
version = "0.2.1"
|
||||
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com>"]
|
||||
edition = "2021"
|
||||
edition = { workspace = true }
|
||||
|
||||
[[bench]]
|
||||
name = "benches"
|
||||
harness = false
|
||||
|
||||
[dependencies]
|
||||
merkle_proof = { path = "../../consensus/merkle_proof" }
|
||||
bls = { path = "../../crypto/bls", features = ["arbitrary"] }
|
||||
kzg = { path = "../../crypto/kzg" }
|
||||
compare_fields = { path = "../../common/compare_fields" }
|
||||
compare_fields_derive = { path = "../../common/compare_fields_derive" }
|
||||
merkle_proof = { workspace = true }
|
||||
bls = { workspace = true, features = ["arbitrary"] }
|
||||
kzg = { workspace = true }
|
||||
compare_fields = { workspace = true }
|
||||
compare_fields_derive = { workspace = true }
|
||||
eth2_interop_keypairs = { path = "../../common/eth2_interop_keypairs" }
|
||||
ethereum-types = { version = "0.14.1", features = ["arbitrary"] }
|
||||
ethereum_hashing = "1.0.0-beta.2"
|
||||
hex = "0.4.2"
|
||||
int_to_bytes = { path = "../int_to_bytes" }
|
||||
log = "0.4.11"
|
||||
rayon = "1.4.1"
|
||||
rand = "0.8.5"
|
||||
safe_arith = { path = "../safe_arith" }
|
||||
serde = {version = "1.0.116" , features = ["rc"] }
|
||||
ethereum-types = { workspace = true, features = ["arbitrary"] }
|
||||
ethereum_hashing = { workspace = true }
|
||||
hex = { workspace = true }
|
||||
int_to_bytes = { workspace = true }
|
||||
log = { workspace = true }
|
||||
rayon = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
safe_arith = { workspace = true }
|
||||
serde = { workspace = true, features = ["rc"] }
|
||||
serde_derive = "1.0.116"
|
||||
slog = "2.5.2"
|
||||
ethereum_ssz = { version = "0.5.0", features = ["arbitrary"] }
|
||||
ethereum_ssz_derive = "0.5.3"
|
||||
ssz_types = { version = "0.5.4", features = ["arbitrary"] }
|
||||
swap_or_not_shuffle = { path = "../swap_or_not_shuffle", features = ["arbitrary"] }
|
||||
slog = { workspace = true }
|
||||
ethereum_ssz = { workspace = true, features = ["arbitrary"] }
|
||||
ethereum_ssz_derive = { workspace = true }
|
||||
ssz_types = { workspace = true, features = ["arbitrary"] }
|
||||
swap_or_not_shuffle = { workspace = true, features = ["arbitrary"] }
|
||||
test_random_derive = { path = "../../common/test_random_derive" }
|
||||
tree_hash = { version = "0.5.2", features = ["arbitrary"] }
|
||||
tree_hash_derive = "0.5.0"
|
||||
tree_hash = { workspace = true, features = ["arbitrary"] }
|
||||
tree_hash_derive = { workspace = true }
|
||||
rand_xorshift = "0.3.0"
|
||||
cached_tree_hash = { path = "../cached_tree_hash" }
|
||||
serde_yaml = "0.8.13"
|
||||
tempfile = "3.1.0"
|
||||
derivative = "2.1.1"
|
||||
cached_tree_hash = { workspace = true }
|
||||
serde_yaml = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
derivative = { workspace = true }
|
||||
rusqlite = { workspace = true }
|
||||
# The arbitrary dependency is enabled by default since Capella to avoid complexity introduced by
|
||||
# `AbstractExecPayload`
|
||||
arbitrary = { version = "1.0", features = ["derive"] }
|
||||
ethereum_serde_utils = "0.5.0"
|
||||
rusqlite = { version = "0.28.0", features = ["bundled"], optional = true }
|
||||
regex = "1.5.5"
|
||||
lazy_static = "1.4.0"
|
||||
parking_lot = "0.12.0"
|
||||
itertools = "0.10.0"
|
||||
superstruct = "0.6.0"
|
||||
arbitrary = { workspace = true, features = ["derive"] }
|
||||
ethereum_serde_utils = { workspace = true }
|
||||
regex = { workspace = true }
|
||||
lazy_static = { workspace = true }
|
||||
parking_lot = { workspace = true }
|
||||
itertools = { workspace = true }
|
||||
superstruct = { workspace = true }
|
||||
metastruct = "0.1.0"
|
||||
serde_json = "1.0.74"
|
||||
smallvec = "1.8.0"
|
||||
maplit = "1.0.2"
|
||||
strum = { version = "0.24.0", features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
smallvec = { workspace = true }
|
||||
maplit = { workspace = true }
|
||||
strum = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3.3"
|
||||
beacon_chain = { path = "../../beacon_node/beacon_chain" }
|
||||
eth2_interop_keypairs = { path = "../../common/eth2_interop_keypairs" }
|
||||
state_processing = { path = "../state_processing" }
|
||||
tokio = "1.14.0"
|
||||
paste = "1.0.14"
|
||||
criterion = { workspace = true }
|
||||
beacon_chain = { workspace = true }
|
||||
state_processing = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
paste = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["sqlite", "legacy-arith"]
|
||||
# Allow saturating arithmetic on slots and epochs. Enabled by default, but deprecated.
|
||||
legacy-arith = []
|
||||
sqlite = ["rusqlite"]
|
||||
sqlite = []
|
||||
# The `arbitrary-fuzz` feature is a no-op provided for backwards compatibility.
|
||||
# For simplicity `Arbitrary` is now derived regardless of the feature's presence.
|
||||
arbitrary-fuzz = []
|
||||
|
||||
@@ -28,7 +28,10 @@ use BeaconStateError;
|
||||
serde(bound = "T: EthSpec", deny_unknown_fields),
|
||||
arbitrary(bound = "T: EthSpec")
|
||||
),
|
||||
ref_attributes(derive(PartialEq, TreeHash), tree_hash(enum_behaviour = "transparent")),
|
||||
ref_attributes(
|
||||
derive(PartialEq, TreeHash, Debug),
|
||||
tree_hash(enum_behaviour = "transparent")
|
||||
),
|
||||
cast_error(ty = "Error", expr = "BeaconStateError::IncorrectStateVariant"),
|
||||
partial_getter_error(ty = "Error", expr = "BeaconStateError::IncorrectStateVariant")
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user