mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
This method is a footgun because it truncates the list. It is the source of a recent bug: - https://github.com/sigp/lighthouse/pull/7927 - Delete uses of `RuntimeVariableList::from_vec` and replace them with `::new` which does validation and can fail. - Propagate errors where possible, unwrap in tests and use `expect` for obviously-safe uses (in `chain_spec.rs`).
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
name = "store"
|
|
version = "0.2.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = { workspace = true }
|
|
|
|
[features]
|
|
default = ["leveldb"]
|
|
leveldb = ["dep:leveldb"]
|
|
redb = ["dep:redb"]
|
|
|
|
[dependencies]
|
|
bls = { workspace = true }
|
|
db-key = "0.0.5"
|
|
directory = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
ethereum_ssz_derive = { workspace = true }
|
|
itertools = { workspace = true }
|
|
leveldb = { version = "0.8.6", optional = true, default-features = false }
|
|
logging = { workspace = true }
|
|
lru = { workspace = true }
|
|
metrics = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
redb = { version = "2.1.3", optional = true }
|
|
safe_arith = { workspace = true }
|
|
serde = { workspace = true }
|
|
smallvec = { workspace = true }
|
|
ssz_types = { workspace = true }
|
|
state_processing = { workspace = true }
|
|
strum = { workspace = true }
|
|
superstruct = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
types = { workspace = true }
|
|
xdelta3 = { workspace = true }
|
|
zstd = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
beacon_chain = { workspace = true }
|
|
criterion = { workspace = true }
|
|
rand = { workspace = true, features = ["small_rng"] }
|
|
tempfile = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "hdiff"
|
|
harness = false
|