nimbus-eth2/tests/mocking
Jacek Sieka 89e4819ce9
collect signature production and verificaiton in one place (#1179)
* collect signature production and verificaiton in one place

Signatures are made over data and domain - here we collect all such
activities in one place.

Also:
* security: fix cast-before-range-check
* log block/attestation verification consistently
* run block verification based on `getProposer` in its own history
* clean up some unused stuff

* import

* missing raises
2020-06-16 07:45:04 +02:00
..
mock_attestations.nim collect signature production and verificaiton in one place (#1179) 2020-06-16 07:45:04 +02:00
mock_blocks.nim collect signature production and verificaiton in one place (#1179) 2020-06-16 07:45:04 +02:00
mock_deposits.nim collect signature production and verificaiton in one place (#1179) 2020-06-16 07:45:04 +02:00
mock_genesis.nim begin removing plain BeaconState versions of state transition functions (#951) 2020-04-30 08:44:19 +02:00
mock_state.nim check that process_slots() succeeds 2020-05-19 17:16:55 +00:00
mock_validator_keys.nim crypto: cleanup (#882) 2020-04-11 10:51:07 +02:00