lighthouse/consensus/state_processing/src
Michael Sproul e5fc6bab48 Remove redundant decompression in process_deposit (#1610)
## Issue Addressed

Closes #1076

## Proposed Changes

Remove an extra unnecessary decompression of the deposit public key from `process_deposit`. The key is decompressed and used to verify the signature in `verify_deposit_signature`, making this initial decompression redundant.

## Additional Info

This is _not_ a consensus-breaking change because keys which previously failed the early decompression check will not be found in the pubkey cache (they are invalid), and will be checked and rejected as part of `verify_deposit_signature`.
2020-09-14 10:58:15 +00:00
..
common Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
per_block_processing Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
per_epoch_processing Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
genesis.rs get_active_validator_indices() now has bound check (#1300) 2020-06-29 18:21:51 +10:00
lib.rs Process exits and slashings off the network (#1253) 2020-06-18 21:06:34 +10:00
macros.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
per_block_processing.rs Remove redundant decompression in process_deposit (#1610) 2020-09-14 10:58:15 +00:00
per_epoch_processing.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
per_slot_processing.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
test_utils.rs Improve bls::SecretKey privacy (#1164) 2020-05-19 11:23:08 +10:00
verify_operation.rs Process exits and slashings off the network (#1253) 2020-06-18 21:06:34 +10:00