nimbus-eth2/tests/test_validator.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

15 lines
610 B
Nim

# 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
math, unittest, sequtils, testutil,
../beacon_chain/spec/[helpers, datatypes, digest, validator, beaconstate],
../beacon_chain/extras
suite "Validators":
# TODO: Empty!
discard