lighthouse/beacon_node
Paul Hauner 805e152f66 Simplify enum -> str with strum (#2164)
## Issue Addressed

NA

## Proposed Changes

As per #2100, uses derives from the sturm library to implement AsRef<str> and AsStaticRef to easily get str values from enums without creating new Strings. Furthermore unifies all attestation error counter into one IntCounterVec vector.

These works are originally by @blacktemplar, I've just created this PR so I can resolve some merge conflicts.

## Additional Info

NA


Co-authored-by: blacktemplar <blacktemplar@a1.net>
2021-01-19 06:33:58 +00:00
..
beacon_chain Simplify enum -> str with strum (#2164) 2021-01-19 06:33:58 +00:00
client Add slasher broadcast (#2079) 2020-12-16 03:44:01 +00:00
eth1 Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
eth2_libp2p Simplify enum -> str with strum (#2164) 2021-01-19 06:33:58 +00:00
genesis Improve compile time (#1989) 2020-12-09 01:34:58 +00:00
http_api Ssz state api endpoint (#2111) 2021-01-06 03:01:46 +00:00
http_metrics update dependencies (#2032) 2020-12-07 08:20:33 +00:00
network Simplify enum -> str with strum (#2164) 2021-01-19 06:33:58 +00:00
operation_pool Update pool/attestations and committees endpoints (#1899) 2020-11-18 23:31:39 +00:00
src Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
store Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
tests Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
timer Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
websocket_server Server sent events (#1920) 2020-12-04 00:18:58 +00:00
Cargo.toml Version v1.0.6 (#2126) 2020-12-28 23:38:02 +00:00