mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Disable legacy-arith by default in consensus/types (#8695)
Currently, `consensus/types` cannot build with `no-default-features` since we use "legacy" standard arithmetic operations. - Remove the offending arithmetic to fix compilation. - Rename `legacy-arith` to `saturating-arith` and disable it by default. Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
@@ -271,7 +271,7 @@ tracing_samplers = { path = "common/tracing_samplers" }
|
||||
tree_hash = "0.12.0"
|
||||
tree_hash_derive = "0.12.0"
|
||||
typenum = "1"
|
||||
types = { path = "consensus/types" }
|
||||
types = { path = "consensus/types", features = ["saturating-arith"] }
|
||||
url = "2"
|
||||
uuid = { version = "0.8", features = ["serde", "v4"] }
|
||||
validator_client = { path = "validator_client" }
|
||||
|
||||
Reference in New Issue
Block a user