From bb1e9219f19e51a70a7cffdb8de58cc971172b93 Mon Sep 17 00:00:00 2001 From: puneetmahajan Date: Thu, 9 May 2024 20:31:29 +0400 Subject: [PATCH] add amino types for using with telescope --- proto/pstake/liquidstake/v1beta1/tx.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proto/pstake/liquidstake/v1beta1/tx.proto b/proto/pstake/liquidstake/v1beta1/tx.proto index 9291fb10c..d9215c1ea 100644 --- a/proto/pstake/liquidstake/v1beta1/tx.proto +++ b/proto/pstake/liquidstake/v1beta1/tx.proto @@ -7,6 +7,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos/msg/v1/msg.proto"; import "google/protobuf/timestamp.proto"; import "pstake/liquidstake/v1beta1/liquidstake.proto"; +import "amino/amino.proto"; option go_package = "github.com/persistenceOne/pstake-native/v2/x/liquidstake/types"; @@ -43,6 +44,7 @@ message MsgLiquidStake { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; option (cosmos.msg.v1.signer) = "delegator_address"; + option (amino.name) = "liquidstake/MsgLiquidStake"; string delegator_address = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; @@ -58,6 +60,7 @@ message MsgLiquidStakeResponse {} message MsgStakeToLP { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + option (amino.name) = "liquidstake/MsgStakeToLP"; option (cosmos.msg.v1.signer) = "delegator_address"; string delegator_address = 1 @@ -78,6 +81,7 @@ message MsgStakeToLPResponse {} message MsgLiquidUnstake { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + option (amino.name) = "liquidstake/MsgLiquidUnstake"; option (cosmos.msg.v1.signer) = "delegator_address"; string delegator_address = 1 @@ -95,6 +99,7 @@ message MsgLiquidUnstakeResponse { message MsgUpdateParams { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + option (amino.name) = "liquidstake/MsgUpdateParams"; option (cosmos.msg.v1.signer) = "authority"; // authority is the address that controls the module (defaults to x/gov unless @@ -114,6 +119,7 @@ message MsgUpdateParamsResponse {} message MsgUpdateWhitelistedValidators { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + option (amino.name) = "liquidstake/MsgUpdateWhitelistedValidators"; option (cosmos.msg.v1.signer) = "authority"; // Authority is the address that is allowed to update whitelisted validators, @@ -133,6 +139,7 @@ message MsgUpdateWhitelistedValidatorsResponse {} message MsgSetModulePaused { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + option (amino.name) = "liquidstake/MsgSetModulePaused"; option (cosmos.msg.v1.signer) = "authority"; // Authority is the address that is allowed to update module's paused state,