From 6913c91613286077acde26326feedb0b691911cb Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Thu, 16 Jan 2025 20:20:50 +0100 Subject: [PATCH] chore(communities-wallet): statusgo calls updated to use renamed communitytokens service --- src/backend/community_tokens.nim | 14 +++++++------- vendor/status-go | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/backend/community_tokens.nim b/src/backend/community_tokens.nim index fc573ec62b7..5d26dd4978c 100644 --- a/src/backend/community_tokens.nim +++ b/src/backend/community_tokens.nim @@ -14,12 +14,12 @@ const eventCommunityTokenReceived*: string = "wallet-community-token-received" proc storeDeployedCollectibles*(addressFrom: string, addressTo: string, chainId: int, txHash: string, deploymentParams: JsonNode): RpcResponse[JsonNode] = let payload = %* [addressFrom, addressTo, chainId, txHash, deploymentParams] - return core.callPrivateRPC("communitytokensv2_storeDeployedCollectibles", payload) + return core.callPrivateRPC("communitytokens_storeDeployedCollectibles", payload) proc storeDeployedAssets*(addressFrom: string, addressTo: string, chainId: int, txHash: string, deploymentParams: JsonNode): RpcResponse[JsonNode] = let payload = %* [addressFrom, addressTo, chainId, txHash, deploymentParams] - return core.callPrivateRPC("communitytokensv2_storeDeployedAssets", payload) + return core.callPrivateRPC("communitytokens_storeDeployedAssets", payload) proc removeCommunityToken*(chainId: int, address: string): RpcResponse[JsonNode] = let payload = %* [chainId, address] @@ -56,16 +56,16 @@ proc updateCommunityTokenSupply*(chainId: int, contractAddress: string, supply: proc remainingSupply*(chainId: int, contractAddress: string): RpcResponse[JsonNode] = let payload = %* [chainId, contractAddress] - return core.callPrivateRPC("communitytokensv2_remainingSupply", payload) + return core.callPrivateRPC("communitytokens_remainingSupply", payload) proc remoteDestructedAmount*(chainId: int, contractAddress: string): RpcResponse[JsonNode] = let payload = %*[chainId, contractAddress] - return core.callPrivateRPC("communitytokensv2_remoteDestructedAmount", payload) + return core.callPrivateRPC("communitytokens_remoteDestructedAmount", payload) proc storeDeployedOwnerToken*(addressFrom: string, chainId: int, txHash: string, ownerParams: JsonNode, masterParams: JsonNode): RpcResponse[JsonNode] = let payload = %* [addressFrom, chainId, txHash, ownerParams, masterParams] - return core.callPrivateRPC("communitytokensv2_storeDeployedOwnerToken", payload) + return core.callPrivateRPC("communitytokens_storeDeployedOwnerToken", payload) proc createCommunityTokenDeploymentSignature*(resultOut: var JsonNode, chainId: int, addressFrom: string, signerAddress: string): string = try: @@ -97,11 +97,11 @@ proc registerLostOwnershipNotification*(communityId: string): RpcResponse[JsonNo proc getOwnerTokenOwnerAddress*(chainId: int, contractAddress: string): RpcResponse[JsonNode] = let payload = %*[chainId, contractAddress] - return core.callPrivateRPC("communitytokensv2_ownerTokenOwnerAddress", payload) + return core.callPrivateRPC("communitytokens_ownerTokenOwnerAddress", payload) proc reTrackOwnerTokenDeploymentTransaction*(chainId: int, contractAddress: string): RpcResponse[JsonNode] = let payload = %*[chainId, contractAddress] - return core.callPrivateRPC("communitytokensv2_reTrackOwnerTokenDeploymentTransaction", payload) + return core.callPrivateRPC("communitytokens_reTrackOwnerTokenDeploymentTransaction", payload) rpc(registerReceivedCommunityTokenNotification, "wakuext"): communityId: string diff --git a/vendor/status-go b/vendor/status-go index 87cf27f7188..7de1b0b2036 160000 --- a/vendor/status-go +++ b/vendor/status-go @@ -1 +1 @@ -Subproject commit 87cf27f718888f7b5492763627e9ff8376321baf +Subproject commit 7de1b0b2036bdb7dc10ce3d52e612b0e0b3f8758