mirror of
https://github.com/status-im/status-app.git
synced 2026-08-27 07:01:14 +00:00
chore: move network RPCs to the networks namespace
status-go moved the network methods off the wallet service onto a networks service of its own. The six calls the app makes move with them; fetchChainIDForURL stays on wallet.
This commit is contained in:
committed by
Jonathan Rainville
parent
a76107136f
commit
4f461a89f2
@@ -6,26 +6,26 @@ import backend/network_types
|
||||
|
||||
export response_type, network_types
|
||||
|
||||
rpc(getFlatEthereumChains, "wallet"):
|
||||
rpc(getFlatEthereumChains, "networks"):
|
||||
discard
|
||||
|
||||
rpc(addEthereumChain, "wallet"):
|
||||
rpc(addEthereumChain, "networks"):
|
||||
network: NetworkDto
|
||||
|
||||
rpc(deleteEthereumChain, "wallet"):
|
||||
rpc(deleteEthereumChain, "networks"):
|
||||
chainId: int
|
||||
|
||||
rpc(setChainActive, "wallet"):
|
||||
rpc(setChainActive, "networks"):
|
||||
chainId: int
|
||||
active: bool
|
||||
|
||||
rpc(fetchChainIDForURL, "wallet"):
|
||||
url: string
|
||||
|
||||
rpc(setChainEnabled, "wallet"):
|
||||
rpc(setChainEnabled, "networks"):
|
||||
chainId: int
|
||||
enabled: bool
|
||||
|
||||
rpc(setChainUserRpcProviders, "wallet"):
|
||||
rpc(setChainUserRpcProviders, "networks"):
|
||||
chainId: int
|
||||
rpcProviders: seq[RpcProviderDto]
|
||||
Reference in New Issue
Block a user