mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 05:44:40 +00:00
make test green
This commit is contained in:
parent
200f93a3b7
commit
810259bfc4
@ -1,5 +1,7 @@
|
|||||||
import eth/trie/db, eth/[trie, rlp, common], nimcrypto
|
import eth/trie/db, eth/[trie, rlp, common], nimcrypto
|
||||||
|
|
||||||
|
export nimcrypto.`$`
|
||||||
|
|
||||||
proc calcRootHash[T](items: openArray[T]): Hash256 =
|
proc calcRootHash[T](items: openArray[T]): Hash256 =
|
||||||
var tr = initHexaryTrie(newMemoryDB())
|
var tr = initHexaryTrie(newMemoryDB())
|
||||||
for i, t in items:
|
for i, t in items:
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
import
|
import
|
||||||
unittest, strformat, strutils, sequtils, tables, json, ospaths, times,
|
unittest, strformat, strutils, sequtils, tables, json, ospaths, times,
|
||||||
byteutils, ranges/typedranges, nimcrypto/[keccak, hash],
|
byteutils, ranges/typedranges,
|
||||||
eth/[rlp, common], eth/trie/db,
|
eth/[rlp, common], eth/trie/db,
|
||||||
./test_helpers,
|
./test_helpers,
|
||||||
../nimbus/[constants, errors],
|
../nimbus/[constants, errors],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user