mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-30 16:06:30 +00:00
6795aa42b2
The cast from f32::MAX to u32 was undefined behaviour, and the use of floating point logarithms would yield incorrect results due to rounding and truncation, e.g. for the integer 16777206
21 lines
474 B
TOML
21 lines
474 B
TOML
[package]
|
|
name = "fork_choice"
|
|
version = "0.1.0"
|
|
authors = ["Age Manning <Age@AgeManning.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
db = { path = "../../beacon_node/db" }
|
|
ssz = { path = "../utils/ssz" }
|
|
types = { path = "../types" }
|
|
log = "0.4.6"
|
|
bit-vec = "0.5.0"
|
|
|
|
[dev-dependencies]
|
|
hex = "0.3.2"
|
|
yaml-rust = "0.4.2"
|
|
bls = { path = "../utils/bls" }
|
|
slot_clock = { path = "../utils/slot_clock" }
|
|
beacon_chain = { path = "../../beacon_node/beacon_chain" }
|
|
env_logger = "0.6.0"
|