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:
Igor Sirotin
2026-08-26 15:28:53 -04:00
committed by Jonathan Rainville
parent a76107136f
commit 4f461a89f2
+6 -6
View File
@@ -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]