From 23786e2e48a3bbc7671f2c8d324ddf8ef4e327ea Mon Sep 17 00:00:00 2001 From: zJ <19760191+zJuuu@users.noreply.github.com> Date: Tue, 12 Sep 2023 11:20:26 +0200 Subject: [PATCH] change msg version to 3 --- src/stargate/index.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/stargate/index.ts b/src/stargate/index.ts index 08383af..62481b1 100644 --- a/src/stargate/index.ts +++ b/src/stargate/index.ts @@ -14,14 +14,14 @@ export const getTypeUrl: (type: MessageType) => string = (type) => `/${type.$type}`; export enum messages { - MsgCreateCertificate = "/akash.cert.v1beta2.MsgCreateCertificate", - MsgRevokeCertificate = "/akash.cert.v1beta2.MsgRevokeCertificate", - MsgCreateDeployment = "/akash.deployment.v1beta2.MsgCreateDeployment", - MsgCloseDeployment = "/akash.deployment.v1beta2.MsgCloseDeployment", - MsgDepositDeployment = "/akash.deployment.v1beta2.MsgDepositDeployment", - MsgUpdateDeployment = "/akash.deployment.v1beta2.MsgUpdateDeployment", - MsgCloseGroup = "/akash.deployment.v1beta2.MsgCloseGroup", - MsgPauseGroup = "/akash.deployment.v1beta2.MsgPauseGroup", - MsgStartGroup = "/akash.deployment.v1beta2.MsgStartGroup", - MsgCreateLease = "/akash.market.v1beta2.MsgCreateLease", + MsgCreateCertificate = "/akash.cert.v1beta3.MsgCreateCertificate", + MsgRevokeCertificate = "/akash.cert.v1beta3.MsgRevokeCertificate", + MsgCreateDeployment = "/akash.deployment.v1beta3.MsgCreateDeployment", + MsgCloseDeployment = "/akash.deployment.v1beta3.MsgCloseDeployment", + MsgDepositDeployment = "/akash.deployment.v1beta3.MsgDepositDeployment", + MsgUpdateDeployment = "/akash.deployment.v1beta3.MsgUpdateDeployment", + MsgCloseGroup = "/akash.deployment.v1beta3.MsgCloseGroup", + MsgPauseGroup = "/akash.deployment.v1beta3.MsgPauseGroup", + MsgStartGroup = "/akash.deployment.v1beta3.MsgStartGroup", + MsgCreateLease = "/akash.market.v1beta3.MsgCreateLease", }