From bb1e9219f19e51a70a7cffdb8de58cc971172b93 Mon Sep 17 00:00:00 2001 From: puneetmahajan Date: Thu, 9 May 2024 20:31:29 +0400 Subject: [PATCH 1/2] 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, From 9d08bc4f622e28a6c2485134d5bd336a6a13e657 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 May 2024 03:30:00 +0000 Subject: [PATCH 2/2] chore(deps): bump bufbuild/buf-setup-action from 1.31.0 to 1.32.2 Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.31.0 to 1.32.2. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.31.0...v1.32.2) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/proto-registry.yml | 2 +- .github/workflows/proto.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/proto-registry.yml b/.github/workflows/proto-registry.yml index 0de99a57b..f7126a5de 100644 --- a/.github/workflows/proto-registry.yml +++ b/.github/workflows/proto-registry.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: bufbuild/buf-setup-action@v1.31.0 + - uses: bufbuild/buf-setup-action@v1.32.2 - uses: bufbuild/buf-push-action@v1 with: input: "proto" diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index b6a4de8c6..feb74c927 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v4 - - uses: bufbuild/buf-setup-action@v1.31.0 + - uses: bufbuild/buf-setup-action@v1.32.2 - uses: bufbuild/buf-lint-action@v1 with: input: "proto" @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: bufbuild/buf-setup-action@v1.31.0 + - uses: bufbuild/buf-setup-action@v1.32.2 - uses: bufbuild/buf-breaking-action@v1 with: input: "proto"