byteutils -> stew/byteutils

This commit is contained in:
Ștefan Talpalaru 2019-08-24 21:48:57 +02:00
parent 377b14cb4a
commit 58d78cfa7f
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
5 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ import macros, strutils, options, math, json, tables, uri
from os import DirSep
import
nimcrypto, stint, httputils, chronicles, chronos, json_rpc/rpcclient,
byteutils, eth/keys
stew/byteutils, eth/keys
import web3/[ethtypes, ethprocs, conversions, ethhexstrings, transaction_signing]

View File

@ -12,7 +12,7 @@ requires "stint"
requires "chronicles"
requires "chronos"
requires "json_rpc"
requires "byteutils"
requires "stew"
requires "eth"

View File

@ -1,4 +1,4 @@
import json, options, stint, byteutils, strutils
import json, options, stint, stew/byteutils, strutils
from json_rpc/rpcserver import expect
import ethtypes, ethhexstrings

View File

@ -1,5 +1,5 @@
import options, json
import stint, byteutils
import stint, stew/byteutils
type
SyncObject* = object
@ -168,4 +168,4 @@ proc `==`*[N](a, b: DynamicBytes[N]): bool {.inline.} =
array[N, byte](a) == array[N, byte](b)
proc `==`*(a, b: Address): bool {.inline.} =
array[20, byte](a) == array[20, byte](b)
array[20, byte](a) == array[20, byte](b)

View File

@ -1,6 +1,6 @@
import
options,
ethtypes, byteutils, stint,
ethtypes, stew/byteutils, stint,
eth/[common, keys, rlp], eth/common/transaction
proc signTransaction(tr: var Transaction, pk: PrivateKey) =