nimbus-eth2/tests/mocking
Etan Kissling 9ee6c3e7ef
always use static keys in tests (#2928)
There are multiple ways how states can be processed during tests. One is
through tests/mocking, the other through tests/xxxutil. Both methods can
create genesis states with a set of deposits from mock validators. The
private keys for those validators are created differently, though. While
tests/mocking generates random keys, testblockutil generates fixed keys.
This is a problem when mixing both tests/mocking and testblockutil in a
single test case, as they assume that the deposits were generated using
the same method. This patch aligns the key generation across tests.
2021-09-30 17:14:03 +02:00
..
mock_attestations.nim always use static keys in tests (#2928) 2021-09-30 17:14:03 +02:00
mock_blocks.nim always use static keys in tests (#2928) 2021-09-30 17:14:03 +02:00
mock_deposits.nim always use static keys in tests (#2928) 2021-09-30 17:14:03 +02:00
mock_genesis.nim merge hardfork database support (#2911) 2021-09-30 01:07:24 +00:00
mock_state.nim forkedbeaconstate_helpers -> forks (#2772) 2021-08-10 22:46:35 +02:00