mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-02 04:03:35 +00:00
Simplify hashing in shuffling (#6483)
* Simplify hashing in shuffling * Fix benchmark deps * Check benchmarks when linting
This commit is contained in:
@@ -78,7 +78,7 @@ fn all_benches(c: &mut Criterion) {
|
||||
|| (bytes.clone(), spec.clone()),
|
||||
|(bytes, spec)| {
|
||||
let state: BeaconState<MainnetEthSpec> =
|
||||
BeaconState::from_ssz_bytes(&bytes, &spec).expect("should decode");
|
||||
BeaconState::from_ssz_bytes(bytes, spec).expect("should decode");
|
||||
black_box(state)
|
||||
},
|
||||
BatchSize::SmallInput,
|
||||
|
||||
Reference in New Issue
Block a user