byteutils -> stew/byteutils
This commit is contained in:
parent
377b14cb4a
commit
58d78cfa7f
2
web3.nim
2
web3.nim
|
@ -2,7 +2,7 @@ import macros, strutils, options, math, json, tables, uri
|
||||||
from os import DirSep
|
from os import DirSep
|
||||||
import
|
import
|
||||||
nimcrypto, stint, httputils, chronicles, chronos, json_rpc/rpcclient,
|
nimcrypto, stint, httputils, chronicles, chronos, json_rpc/rpcclient,
|
||||||
byteutils, eth/keys
|
stew/byteutils, eth/keys
|
||||||
|
|
||||||
import web3/[ethtypes, ethprocs, conversions, ethhexstrings, transaction_signing]
|
import web3/[ethtypes, ethprocs, conversions, ethhexstrings, transaction_signing]
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ requires "stint"
|
||||||
requires "chronicles"
|
requires "chronicles"
|
||||||
requires "chronos"
|
requires "chronos"
|
||||||
requires "json_rpc"
|
requires "json_rpc"
|
||||||
requires "byteutils"
|
requires "stew"
|
||||||
requires "eth"
|
requires "eth"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import json, options, stint, byteutils, strutils
|
import json, options, stint, stew/byteutils, strutils
|
||||||
from json_rpc/rpcserver import expect
|
from json_rpc/rpcserver import expect
|
||||||
import ethtypes, ethhexstrings
|
import ethtypes, ethhexstrings
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import options, json
|
import options, json
|
||||||
import stint, byteutils
|
import stint, stew/byteutils
|
||||||
|
|
||||||
type
|
type
|
||||||
SyncObject* = object
|
SyncObject* = object
|
||||||
|
@ -168,4 +168,4 @@ proc `==`*[N](a, b: DynamicBytes[N]): bool {.inline.} =
|
||||||
array[N, byte](a) == array[N, byte](b)
|
array[N, byte](a) == array[N, byte](b)
|
||||||
|
|
||||||
proc `==`*(a, b: Address): bool {.inline.} =
|
proc `==`*(a, b: Address): bool {.inline.} =
|
||||||
array[20, byte](a) == array[20, byte](b)
|
array[20, byte](a) == array[20, byte](b)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import
|
import
|
||||||
options,
|
options,
|
||||||
ethtypes, byteutils, stint,
|
ethtypes, stew/byteutils, stint,
|
||||||
eth/[common, keys, rlp], eth/common/transaction
|
eth/[common, keys, rlp], eth/common/transaction
|
||||||
|
|
||||||
proc signTransaction(tr: var Transaction, pk: PrivateKey) =
|
proc signTransaction(tr: var Transaction, pk: PrivateKey) =
|
||||||
|
|
Loading…
Reference in New Issue