From 4f461a89f2ffb3ac3335ebf62da6ca9a5df7a5a9 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Wed, 26 Aug 2026 18:07:46 +0100 Subject: [PATCH] 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. --- src/backend/network.nim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/backend/network.nim b/src/backend/network.nim index 7680adfb4a..652e6b68e3 100644 --- a/src/backend/network.nim +++ b/src/backend/network.nim @@ -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] \ No newline at end of file