sigp / lighthouse

Ethereum consensus client in Rust
https://lighthouse.sigmaprime.io/
Apache License 2.0
2.88k stars 724 forks source link

Expand checked arithmetic to more crates #1013

Open michaelsproul opened 4 years ago

michaelsproul commented 4 years ago

Description

In #1009 we added lints for unchecked integer arithmetic and switched to checked arithmetic in the types and state_processing crates. This issue is about expanding that coverage to more crates, probably in eth2/utils to start with (i.e. the direct dependencies of state_processing).

michaelsproul commented 3 years ago

Another one to remove, .abs() from fork choice