Fix the CI failure
This commit is contained in:
parent
3900d91958
commit
fc0c27a730
2
web3.nim
2
web3.nim
|
@ -14,7 +14,7 @@ template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
|
||||||
createRpcSigs(RpcClient, sourceDir & DirSep & "web3" & DirSep & "ethcallsigs.nim")
|
createRpcSigs(RpcClient, sourceDir & DirSep & "web3" & DirSep & "ethcallsigs.nim")
|
||||||
|
|
||||||
export UInt256, Int256, Uint128, Int128
|
export UInt256, Int256, Uint128, Int128
|
||||||
export ethtypes, conversions
|
export ethtypes, conversions, encoding
|
||||||
|
|
||||||
type
|
type
|
||||||
Web3* = ref object
|
Web3* = ref object
|
||||||
|
|
|
@ -208,4 +208,4 @@ func encode*(x: openArray[Encodable]): EncodeResult =
|
||||||
|
|
||||||
func decode*[T; I: static int](input: string, to: array[0..I, T]): array[0..I, T] =
|
func decode*[T; I: static int](input: string, to: array[0..I, T]): array[0..I, T] =
|
||||||
for i in 0..I:
|
for i in 0..I:
|
||||||
result[i] = input[i*64 .. (i+1)*64].decode(T)
|
result[i] = input[i*64 .. (i+1)*64].decode(T)
|
||||||
|
|
Loading…
Reference in New Issue