nimbus-eth2/tests
Mamy Ratsimbazafy ca4f29caca v0.8.1 tests refactor (#326)
* Introduce new mocking proc to replace:
- makeFakeValidatorPrivKey
- hackPrivKey
- getNextBeaconProposerIndex
- addBlock
- makeBlock

* Add comments on datastructure unsynced with the spec

* Add merkle tree constructor and initial mocking for deposits (missing merkle proofs)

* [Mock] Implement sparse merkle tree and merkle proof builder

* [Mocking] Genesis deposits

* Add compact_committees_roots init + mock genesis state

* [Tests] Add first deposit test using the new mocking procedures

* [Tests -deposits] add at and over 32 ETH deposit tests

* [Tests - deposits] Add test for validator top-up

* [Tests -deposits] Mention the TODO to test for invalid conditions

* [Tests] Add stub to test "is_valid_genesis_state"

* [Merkle proofs] Implement round-trip checks

* Deactivate roundtrips test

* SSZ - use EF convention for hash_tree_root / hashTreeRoot

* [Tests - Attestation] Attestation mocking + initial test

* Add mocking + 3 new tests for valid attestations + mention future invalid attestation tests

* Add crosslinks test (1 failing to attestations in block being duplicated in state transition)

* Single attestation crosslink test - workaround https://github.com/status-im/nim-beacon-chain/issues/361

* Add test for failed crosslink penalty

* Rebase fixes + add refactored tests to test suite

* justif-finalization helpers first batch

* Add 234 finalization tests

* Fix justif test, Rule I 234 finalization does not happen with sufficient support.
(Also unittest check template does not fail properly in some cases)

* Add tests for all finalization rules

* Properly delete nim-byteutils following c91727e7e5 (diff-7c3613dba5171cb6027c67835dd3b9d4)

* use digest helper for deposit root
2019-08-28 12:07:00 +00:00
..
helpers v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
mocking v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
official v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
simulation restore network sim finalization 2019-08-19 21:05:54 +03:00
spec_block_processing v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
spec_epoch_processing v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
all_tests.nim v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
test_attestation_pool.nim restore network sim finalization 2019-08-19 21:05:54 +03:00
test_beacon_chain_db.nim 0.7.0 updates including semantic changes (#285) 2019-06-14 13:50:47 +00:00
test_beacon_node.nim Merge remote-tracking branch 'origin/master' into epoch-state-2 2018-12-05 11:58:01 -06:00
test_beaconstate.nim 0.8.0, continued (#315) 2019-07-10 14:23:02 +02:00
test_block_pool.nim 0.8.0, continued (#315) 2019-07-10 14:23:02 +02:00
test_helpers.nim 0.6.2 updates (#275) 2019-06-03 10:31:04 +00:00
test_peer_connection.nim Respect the port configuration and NAT setup when using LibP2P 2019-06-24 05:34:22 +03:00
test_ssz.nim v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
test_state_transition.nim Justification/finalization amelioration using testnet1 shard count and epoch length (#331) 2019-08-14 08:56:32 +00:00
test_sync_protocol.nim Merge remote-tracking branch 'origin/master' into epoch-state-2 2018-12-05 11:58:01 -06:00
test_validator.nim [Tests] SHA256 + official shuffling vectors (#263) 2019-05-10 08:14:01 +00:00
testutil.nim Justification/finalization amelioration using testnet1 shard count and epoch length (#331) 2019-08-14 08:56:32 +00:00