nimbus-eth2/beacon_chain
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
..
spec v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
ssz Fix SSZ typo fieldCaseDisciminator (declared in nim-serialization) 2019-08-24 16:52:58 +02:00
tracing Improve distinction between debugging stacktraces and crash/exception stacktraces 2019-03-26 17:35:09 +02:00
.gitignore some ignores 2019-03-26 19:41:34 -06:00
attestation_pool.nim rm some less-useful debug and tracing noise (#355) 2019-08-23 11:39:23 +02:00
beacon_chain_db.nim Implement the latest networking spec 2019-08-07 05:22:28 +03:00
beacon_node.nim bump beacon chain versions to 0.8.3, which has no relevant changes in this regard (#358) 2019-08-26 11:09:47 +02:00
beacon_node.nim.cfg Add --logLevel command-line flag; Fix running the start.sh script from the beacon-chain repo 2019-01-17 14:38:27 +02:00
beacon_node_types.nim Implement the latest networking spec 2019-08-07 05:22:28 +03:00
beacon_node_utils.nim Squashed commit of the following: 2019-03-12 16:03:14 +01:00
block_pool.nim fix startup time casts, log fixes 2019-08-19 21:05:54 +03:00
conf.nim Getting genesis through web3 2019-07-31 16:39:26 +03:00
deploy_deposit_contract.nim Cleanup web3 api usage 2019-07-31 16:39:26 +03:00
eth2_network.nim Implement the latest networking spec 2019-08-07 05:22:28 +03:00
extras.nim avoid bad blocks by filtering included attestations 2019-03-28 21:10:08 +02:00
fork_choice.nim 0.8.0, continued (#315) 2019-07-10 14:23:02 +02:00
genesis.nim Updated web3 api usage 2019-08-07 15:48:02 +03:00
gossipsub_protocol.nim Fix the build with RLPx 2019-08-15 20:43:05 +02:00
libp2p_backend.nim Implement the latest networking spec 2019-08-07 05:22:28 +03:00
libp2p_json_serialization.nim Restore building with chronicles_sinks=json 2019-06-24 19:38:19 +03:00
mainchain_monitor.nim Asyncdispatch2 rebranding to chronos (#84) 2019-02-06 18:56:04 +01:00
request_manager.nim Implement the latest SSZ specification and integrate the official SSZ test suite 2019-08-05 03:18:48 +03:00
ssz.nim v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
state_transition.nim v0.8.1 tests refactor (#326) 2019-08-28 12:07:00 +00:00
sync_protocol.nim Fix the build with the latest Chronos 2019-08-15 20:43:06 +02:00
time.nim bump beacon chain versions to 0.8.3, which has no relevant changes in this regard (#358) 2019-08-26 11:09:47 +02:00
trusted_state_snapshots.nim add beacon clock and rework timing 2019-03-26 13:21:48 +02:00
validator_keygen.nim Updated web3 api usage 2019-08-07 15:48:02 +03:00
validator_pool.nim humaneXNum -> shortLog 2019-08-15 18:01:55 +02:00
version.nim Implement the latest networking spec 2019-08-07 05:22:28 +03:00