Skip to content

Commit

Permalink
Merge branch 'main' into dong/TestRemoveZoneAndAssociatedRecords
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanhNhann authored Oct 17, 2023
2 parents b69b4d3 + a24dc70 commit 5a18034
Show file tree
Hide file tree
Showing 43 changed files with 5,790 additions and 1,783 deletions.
5,047 changes: 4,432 additions & 615 deletions docs/swagger.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion proto/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins:
- name: gocosmos
out: ..
opt:
- plugins=grpc
- plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types,
- name: grpc-gateway
out: ..
- name: swagger
Expand Down
27 changes: 9 additions & 18 deletions proto/quicksilver/interchainstaking/v1/interchainstaking.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package quicksilver.interchainstaking.v1;
import "cosmos/base/v1beta1/coin.proto";
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "google/protobuf/timestamp.proto";

option go_package = "github.com/quicksilver-zone/quicksilver/x/interchainstaking/types";
Expand Down Expand Up @@ -34,29 +35,17 @@ message Zone {
bool liquidity_module = 15;
uint32 withdrawal_waitgroup = 16;
bytes ibc_next_validators_hash = 17;
uint64 validator_selection_allocation = 18 [
(gogoproto.jsontag) = "validator_selection_allocation,string,omitempty"
];
uint64 holdings_allocation = 19[
(gogoproto.jsontag) = "holdings_allocation,string,omitempty"
];
int64 last_epoch_height = 20 [
(gogoproto.jsontag) = "last_epoch_height,string,omitempty"
]; // deprecated
uint64 validator_selection_allocation = 18 [(gogoproto.jsontag) = "validator_selection_allocation,string,omitempty"];
uint64 holdings_allocation = 19 [(gogoproto.jsontag) = "holdings_allocation,string,omitempty"];
int64 last_epoch_height = 20 [(gogoproto.jsontag) = "last_epoch_height,string,omitempty"]; // deprecated
string tvl = 21 [
(cosmos_proto.scalar) = "cosmos.Dec",
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.nullable) = false
];
int64 unbonding_period = 22 [
(gogoproto.jsontag) = "unbonding_period,string,omitempty"
];
int64 messages_per_tx = 23 [
(gogoproto.jsontag) = "messages_per_tx,string,omitempty"
];
int64 decimals = 24 [
(gogoproto.jsontag) = "decimals,string,omitempty"
];
int64 unbonding_period = 22 [(gogoproto.jsontag) = "unbonding_period,string,omitempty"];
int64 messages_per_tx = 23 [(gogoproto.jsontag) = "messages_per_tx,string,omitempty"];
int64 decimals = 24 [(gogoproto.jsontag) = "decimals,string,omitempty"];
bool unbonding_enabled = 25;
bool deposits_enabled = 26;
bool return_to_sender = 27;
Expand Down Expand Up @@ -169,6 +158,8 @@ message Validator {
(gogoproto.nullable) = false,
(gogoproto.stdtime) = true
];
// consensus_pubkey is the consensus public key of the validator, as a Protobuf Any.
google.protobuf.Any consensus_pubkey = 10 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"];
}

message DelegatorIntent {
Expand Down
104 changes: 52 additions & 52 deletions x/airdrop/types/airdrop.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions x/airdrop/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5a18034

Please sign in to comment.