Move JSON RPC related modules into providers/jsonrpc
This commit is contained in:
parent
ff5a35aac0
commit
3e507af8cc
|
@ -5,8 +5,8 @@ import pkg/json_rpc/rpcclient
|
||||||
import ../basics
|
import ../basics
|
||||||
import ../provider
|
import ../provider
|
||||||
import ../signer
|
import ../signer
|
||||||
import ./rpccalls
|
import ./jsonrpc/rpccalls
|
||||||
import ./conversions
|
import ./jsonrpc/conversions
|
||||||
|
|
||||||
export basics
|
export basics
|
||||||
export provider
|
export provider
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import std/json
|
import std/json
|
||||||
import pkg/json_rpc/jsonmarshal
|
import pkg/json_rpc/jsonmarshal
|
||||||
import pkg/stew/byteutils
|
import pkg/stew/byteutils
|
||||||
import ../basics
|
import ../../basics
|
||||||
import ../transaction
|
import ../../transaction
|
||||||
import ../blocktag
|
import ../../blocktag
|
||||||
import ../provider
|
import ../../provider
|
||||||
|
|
||||||
export jsonmarshal
|
export jsonmarshal
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
import std/os
|
||||||
|
import pkg/json_rpc/rpcclient
|
||||||
|
import ../../basics
|
||||||
|
import ../../transaction
|
||||||
|
import ../../blocktag
|
||||||
|
import ../../provider
|
||||||
|
import ./conversions
|
||||||
|
|
||||||
|
const file = currentSourcePath.parentDir / "signatures.nim"
|
||||||
|
|
||||||
|
createRpcSigs(RpcClient, file)
|
|
@ -1,11 +0,0 @@
|
||||||
import std/os
|
|
||||||
import pkg/json_rpc/rpcclient
|
|
||||||
import ../basics
|
|
||||||
import ../transaction
|
|
||||||
import ../blocktag
|
|
||||||
import ../provider
|
|
||||||
import ./conversions
|
|
||||||
|
|
||||||
const file = currentSourcePath.parentDir / "rpccalls" / "signatures.nim"
|
|
||||||
|
|
||||||
createRpcSigs(RpcClient, file)
|
|
Loading…
Reference in New Issue