Skip to content

Commit

Permalink
Change query proto and compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Nov 1, 2022
1 parent 5c6be16 commit 8e6e978
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 80 deletions.
13 changes: 11 additions & 2 deletions proto/interchain_security/ccv/provider/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ option go_package = "github.com/cosmos/interchain-security/x/ccv/provider/types"

import "google/api/annotations.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "cosmos_proto/cosmos.proto";
import "interchain_security/ccv/consumer/v1/genesis.proto";
import "interchain_security/ccv/provider/v1/provider.proto";

Expand Down Expand Up @@ -76,8 +78,15 @@ message Chain {
string client_id = 2;
}

message QueryConsumerChainValidatorKeyMappingRequest { string placeholder = 1; }
message QueryConsumerChainValidatorKeyMappingRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;
string chain_id = 1;
string provider_validator_address = 2
[ (gogoproto.moretags) = "yaml:\"address\"" ];
}

message QueryConsumerChainValidatorKeyMappingResponse {
string placeholder = 1;
google.protobuf.Any consumer_validator_pubkey = 1
[ (cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey" ];
}
211 changes: 133 additions & 78 deletions x/ccv/provider/types/query.pb.go

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

0 comments on commit 8e6e978

Please sign in to comment.