From 810259bfc4b0627baf401a498b45bd3dbae4fef4 Mon Sep 17 00:00:00 2001 From: andri lim Date: Tue, 26 Feb 2019 18:26:38 +0700 Subject: [PATCH] make test green --- nimbus/utils.nim | 2 ++ tests/test_vm_json.nim | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nimbus/utils.nim b/nimbus/utils.nim index 35d9571e2..6ee50d693 100644 --- a/nimbus/utils.nim +++ b/nimbus/utils.nim @@ -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: diff --git a/tests/test_vm_json.nim b/tests/test_vm_json.nim index 21d091c0d..562b2c189 100644 --- a/tests/test_vm_json.nim +++ b/tests/test_vm_json.nim @@ -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],