lighthouse/consensus/tree_hash
Paul Hauner f157d61cc7 Address clippy lints, panic in ssz_derive on overflow (#1714)
## Issue Addressed

NA

## Proposed Changes

- Panic or return error if we overflow `usize` in SSZ decoding/encoding derive macros.
  - I claim that the panics can only be triggered by a faulty type definition in lighthouse, they cannot be triggered externally on a validly defined struct.
- Use `Ordering` instead of some `if` statements, as demanded by clippy.
- Remove some old clippy `allow` that seem to no longer be required.
- Add comments to interesting clippy statements that we're going to continue to ignore.
- Create #1713

## Additional Info

NA
2020-10-25 23:27:39 +00:00
..
benches Add caching for state.eth1_data_votes (#919) 2020-07-24 02:19:47 +00:00
examples Improve bls::SecretKey privacy (#1164) 2020-05-19 11:23:08 +10:00
src Address clippy lints, panic in ssz_derive on overflow (#1714) 2020-10-25 23:27:39 +00:00
Cargo.toml Update external deps (#1711) 2020-10-05 08:22:19 +00:00