nimbus-eth2/tests/all_tests.nim
Mamy Ratsimbazafy e5047d93a4 [Tests] SHA256 + official shuffling vectors (#263)
* Change digests to SHA2-256 (from Keccak256)

* Fix sha256 digest initialization - pass shuffling test

* Add comments + remove old shuffling tests

* Remove stale tree hashing tests

* Small toOpenArray optim + notes on in-place hashing

* Revert "Revert "Update test repo""

This reverts commit f385467cd3312058ec0ccf70be83e80f400a41c5.

* Revert "Revert "Fix SIGFPE on shuffling for 0""

This reverts commit 226d380f8733663c033edee94fdd8427c4ddb2a5.

* Revert "Revert "Implement shuffling test (pending typedesc and shuffling algo fix)""

This reverts commit 813cb6fbb8cdbb768a894c35173c3adc1e5d6c59.

* withEth2hash templates now needs ctx.init()

* Use init-update-finish to avoid burnMem
2019-05-10 08:14:01 +00:00

24 lines
815 B
Nim

# beacon_chain
# Copyright (c) 2018 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at http://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at http://www.apache.org/licenses/LICENSE-2.0).
# at your option. This file may not be copied, modified, or distributed except according to those terms.
import # Unit test
./test_attestation_pool,
./test_beacon_chain_db,
./test_beacon_node,
./test_bitfield,
./test_beaconstate,
./test_block_pool,
./test_helpers,
./test_ssz,
./test_state_transition,
./test_sync_protocol
# ./test_validator # Empty!
import # Official fixtures
# TODO - re-enable
#./official/test_fixture_state
./official/test_fixture_shuffling