Skip to content

Commit

Permalink
Merge branch 'main' into puneet/force-update
Browse files Browse the repository at this point in the history
  • Loading branch information
puneet2019 authored May 29, 2024
2 parents 25795a1 + 0281264 commit 46bf532
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/proto-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions proto/pstake/liquidstake/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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" ];
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 46bf532

Please sign in to comment.