Merge branch 'unstable' into peerdas-devnet-7

This commit is contained in:
Jimmy Chen
2025-05-26 14:42:18 +10:00
53 changed files with 1084 additions and 567 deletions

View File

@@ -4,6 +4,9 @@ version = "0.2.0"
authors = ["Michael Sproul <michael@sigmaprime.io>"]
edition = { workspace = true }
[features]
arbitrary = ["alloy-primitives/arbitrary"]
[dependencies]
alloy-primitives = { workspace = true }
ethereum_hashing = { workspace = true }
@@ -13,6 +16,3 @@ safe_arith = { workspace = true }
[dev-dependencies]
quickcheck = { workspace = true }
quickcheck_macros = { workspace = true }
[features]
arbitrary = ["alloy-primitives/arbitrary"]

View File

@@ -4,10 +4,18 @@ version = "0.2.0"
authors = ["Paul Hauner <paul@paulhauner.com>", "Michael Sproul <michael@sigmaprime.io>"]
edition = { workspace = true }
[dev-dependencies]
beacon_chain = { workspace = true }
env_logger = { workspace = true }
tokio = { workspace = true }
[features]
default = ["legacy-arith"]
fake_crypto = ["bls/fake_crypto"]
legacy-arith = ["types/legacy-arith"]
arbitrary-fuzz = [
"types/arbitrary-fuzz",
"merkle_proof/arbitrary",
"ethereum_ssz/arbitrary",
"ssz_types/arbitrary",
"tree_hash/arbitrary",
]
portable = ["bls/supranational-portable"]
[dependencies]
arbitrary = { workspace = true }
@@ -30,15 +38,7 @@ test_random_derive = { path = "../../common/test_random_derive" }
tree_hash = { workspace = true }
types = { workspace = true }
[features]
default = ["legacy-arith"]
fake_crypto = ["bls/fake_crypto"]
legacy-arith = ["types/legacy-arith"]
arbitrary-fuzz = [
"types/arbitrary-fuzz",
"merkle_proof/arbitrary",
"ethereum_ssz/arbitrary",
"ssz_types/arbitrary",
"tree_hash/arbitrary",
]
portable = ["bls/supranational-portable"]
[dev-dependencies]
beacon_chain = { workspace = true }
env_logger = { workspace = true }
tokio = { workspace = true }

View File

@@ -4,17 +4,17 @@ version = "0.2.0"
authors = ["Paul Hauner <paul@paulhauner.com>"]
edition = { workspace = true }
[[bench]]
name = "benches"
harness = false
[dev-dependencies]
criterion = { workspace = true }
[features]
arbitrary = ["alloy-primitives/arbitrary"]
[dependencies]
alloy-primitives = { workspace = true }
ethereum_hashing = { workspace = true }
fixed_bytes = { workspace = true }
[features]
arbitrary = ["alloy-primitives/arbitrary"]
[dev-dependencies]
criterion = { workspace = true }
[[bench]]
name = "benches"
harness = false

View File

@@ -4,9 +4,15 @@ version = "0.2.1"
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com>"]
edition = { workspace = true }
[[bench]]
name = "benches"
harness = false
[features]
default = ["sqlite", "legacy-arith"]
# Allow saturating arithmetic on slots and epochs. Enabled by default, but deprecated.
legacy-arith = []
sqlite = ["dep:rusqlite"]
# 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 = []
portable = ["bls/supranational-portable"]
[dependencies]
alloy-primitives = { workspace = true }
@@ -62,12 +68,6 @@ paste = { workspace = true }
state_processing = { workspace = true }
tokio = { workspace = true }
[features]
default = ["sqlite", "legacy-arith"]
# Allow saturating arithmetic on slots and epochs. Enabled by default, but deprecated.
legacy-arith = []
sqlite = ["dep:rusqlite"]
# 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 = []
portable = ["bls/supranational-portable"]
[[bench]]
name = "benches"
harness = false