Bump nim-eth and move tests under v1 subfolder (#3)

This commit is contained in:
Kim De Mey 2020-05-08 09:36:28 +02:00 committed by GitHub
parent 46fb777ccb
commit a254ec03da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 14 additions and 15 deletions

View File

@ -1,7 +1,7 @@
import
./test_waku_connect,
./test_waku_config,
./test_waku_bridge,
./test_waku_mail,
./test_rpc_waku
./v1/test_waku_connect,
./v1/test_waku_config,
./v1/test_waku_bridge,
./v1/test_waku_mail,
./v1/test_rpc_waku

View File

@ -1,15 +1,15 @@
import
unittest, strformat, options, stew/byteutils, json_rpc/[rpcserver, rpcclient],
eth/common as eth_common, eth/[rlp, keys, p2p],
../waku/protocol/v1/waku_protocol,
../waku/node/v1/rpc/[hexstrings, rpc_types, waku, key_storage],
../../waku/protocol/v1/waku_protocol,
../../waku/node/v1/rpc/[hexstrings, rpc_types, waku, key_storage],
./test_helpers
from os import DirSep, ParDir
## Generate client convenience marshalling wrappers from forward declarations
## For testing, ethcallsigs needs to be kept in sync with ../waku/node/v1/rpc/waku
const sigPath = &"{sourceDir}{DirSep}{ParDir}{DirSep}waku{DirSep}node{DirSep}v1{DirSep}rpc{DirSep}wakucallsigs.nim"
const sigPath = &"{sourceDir}{DirSep}{ParDir}{DirSep}{ParDir}{DirSep}waku{DirSep}node{DirSep}v1{DirSep}rpc{DirSep}wakucallsigs.nim"
createRpcSigs(RpcSocketClient, sigPath)
proc setupNode(capabilities: varargs[ProtocolInfo, `protocolInfo`]): EthereumNode =

View File

@ -10,8 +10,8 @@
import
sequtils, unittest, tables, chronos, eth/p2p, eth/p2p/peer_pool,
eth/p2p/rlpx_protocols/whisper_protocol as whisper,
../waku/protocol/v1/waku_protocol as waku,
../waku/protocol/v1/waku_bridge,
../../waku/protocol/v1/waku_protocol as waku,
../../waku/protocol/v1/waku_bridge,
./test_helpers
let safeTTL = 5'u32

View File

@ -9,7 +9,7 @@
import
sequtils, options, unittest, times,
../waku/protocol/v1/waku_protocol
../../waku/protocol/v1/waku_protocol
suite "Waku envelope validation":
test "should validate and allow envelope according to config":

View File

@ -9,7 +9,7 @@
import
sequtils, tables, unittest, chronos, eth/[keys, p2p], eth/p2p/peer_pool,
../waku/protocol/v1/waku_protocol,
../../waku/protocol/v1/waku_protocol,
./test_helpers
const

View File

@ -1,7 +1,7 @@
import
unittest, chronos, tables, sequtils, times,
eth/[p2p, async_utils], eth/p2p/peer_pool,
../waku/protocol/v1/[waku_protocol, waku_mail],
../../waku/protocol/v1/[waku_protocol, waku_mail],
./test_helpers
const

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit 205b57fe718f18d37d7dfa65cec6799c36fc8b7d
Subproject commit 17586c05d7f047484019565d7eaf8ea9d60b2d30

View File

@ -3,7 +3,6 @@ import
chronicles/topics_registry, # TODO: What? Need this for setLoglevel, weird.
eth/[keys, p2p, async_utils], eth/common/utils, eth/net/nat,
eth/p2p/[discovery, enode, peer_pool, bootnodes, whispernodes],
eth/p2p/rlpx_protocols/[whisper_protocol, waku_protocol, waku_bridge],
# TODO remove me
../v1/rpc/[wakusim, key_storage],
../../vendor/nim-libp2p/libp2p/standard_setup,