make test green

This commit is contained in:
andri lim 2019-02-26 18:26:38 +07:00 committed by zah
parent 200f93a3b7
commit 810259bfc4
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
import eth/trie/db, eth/[trie, rlp, common], nimcrypto
export nimcrypto.`$`
proc calcRootHash[T](items: openArray[T]): Hash256 =
var tr = initHexaryTrie(newMemoryDB())
for i, t in items:

View File

@ -7,7 +7,7 @@
import
unittest, strformat, strutils, sequtils, tables, json, ospaths, times,
byteutils, ranges/typedranges, nimcrypto/[keccak, hash],
byteutils, ranges/typedranges,
eth/[rlp, common], eth/trie/db,
./test_helpers,
../nimbus/[constants, errors],