mirror of https://github.com/status-im/nim-eth.git
results: use standalone repo (#687)
This commit is contained in:
parent
50b3d0193c
commit
0e83cfda97
|
@ -18,7 +18,8 @@ requires "nim >= 1.6.0",
|
|||
"sqlite3_abi",
|
||||
"confutils",
|
||||
"testutils",
|
||||
"unittest2"
|
||||
"unittest2",
|
||||
"results"
|
||||
|
||||
let nimc = getEnv("NIMC", "nim") # Which nim compiler to use
|
||||
let lang = getEnv("NIMLANG", "c") # Which backend (c/cpp/js)
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
import
|
||||
std/[tables, hashes, sets],
|
||||
stew/results
|
||||
results
|
||||
|
||||
export results
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
import
|
||||
std/[strutils, json],
|
||||
nimcrypto/[bcmode, hmac, rijndael, pbkdf2, sha2, sysrand, utils, keccak, scrypt],
|
||||
stew/results,
|
||||
results,
|
||||
../keys,
|
||||
./uuid
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
import
|
||||
std/[options, os, strutils, times],
|
||||
stew/results, nat_traversal/[miniupnpc, natpmp],
|
||||
results, nat_traversal/[miniupnpc, natpmp],
|
||||
chronicles, json_serialization/std/net, chronos,
|
||||
../common/utils, ./utils as netutils
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
import
|
||||
std/[tables, hashes, net],
|
||||
stew/results, chronos, chronicles
|
||||
results, chronos, chronicles
|
||||
|
||||
export net.IpAddress
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
import
|
||||
std/[sets, options, net],
|
||||
stew/results, chronicles, chronos,
|
||||
results, chronicles, chronos,
|
||||
../../net/utils,
|
||||
"."/[node, enr, routing_table]
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
import
|
||||
std/[tables, sets, options, math, sequtils, algorithm],
|
||||
json_serialization/std/net,
|
||||
stew/results, chronicles, chronos, stint, metrics,
|
||||
results, chronicles, chronos, stint, metrics,
|
||||
".."/../[rlp, keys],
|
||||
"."/[messages_encoding, encoding, node, routing_table, enr, random2, sessions,
|
||||
ip_vote, nodes_verification]
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
import
|
||||
std/[algorithm, times, sequtils, bitops, sets],
|
||||
bearssl/rand, stew/results,
|
||||
bearssl/rand, results,
|
||||
stint, chronicles, metrics, chronos,
|
||||
../../net/utils,
|
||||
"."/[node, random2, enr]
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
{.push raises: [].}
|
||||
|
||||
import
|
||||
nimcrypto/[bcmode, keccak, rijndael, utils], stew/results
|
||||
nimcrypto/[bcmode, keccak, rijndael, utils], results
|
||||
from auth import ConnectionSecret
|
||||
|
||||
export results
|
||||
|
|
|
@ -300,9 +300,10 @@ proc appendImpl(self: var RlpWriter, data: tuple) {.inline.} =
|
|||
# score in order to facilitate easier overloading with user types:
|
||||
template append*[T](w: var RlpWriter; data: T) =
|
||||
when data is (SomeSignedInt|enum|bool):
|
||||
# TODO potentially remove signed integer support - we should never make it
|
||||
# this far!
|
||||
{.warning: "Signed integers cannot reliably be encoded using RLP".}
|
||||
when data is SomeSignedInt:
|
||||
# TODO potentially remove signed integer support - we should never make it
|
||||
# this far!
|
||||
{.warning: "Signed integers cannot reliably be encoded using RLP".}
|
||||
appendImpl(w, uint64(data))
|
||||
else:
|
||||
appendImpl(w, data)
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
import
|
||||
std/[tables, options, sequtils],
|
||||
stew/results,
|
||||
results,
|
||||
nimcrypto/[keccak, hash],
|
||||
".."/rlp,
|
||||
"."/[trie_defs, nibbles, db]
|
||||
|
|
Loading…
Reference in New Issue