diff --git a/proto/neutron/interchainqueries/genesis.proto b/proto/neutron/interchainqueries/genesis.proto index e9e882655..49e083370 100644 --- a/proto/neutron/interchainqueries/genesis.proto +++ b/proto/neutron/interchainqueries/genesis.proto @@ -41,8 +41,8 @@ message RegisteredQuery { (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false ]; - // Duration in blocks that is required to pass since the query registration/update for the - // query to become available for anybody to be removed. + // The duration, measured in blocks, that must pass since the query's registration or its last + // result submission before the query becomes eligible for removal by anyone. uint64 submit_timeout = 11; // The local chain block height of the Interchain Query registration. uint64 registered_at_height = 12; diff --git a/proto/neutron/interchainqueries/params.proto b/proto/neutron/interchainqueries/params.proto index f6bdfe544..e3e4768a9 100644 --- a/proto/neutron/interchainqueries/params.proto +++ b/proto/neutron/interchainqueries/params.proto @@ -9,8 +9,9 @@ option go_package = "github.com/neutron-org/neutron/v5/x/interchainqueries/types // The parameters for the module. message Params { option (gogoproto.goproto_stringer) = false; - // The amount of blocks required to pass since an Interchain Query registration/update for the - // query to become available for removal by anybody. + // The duration, measured in blocks, that must pass since the query's registration or its last + // result submission before the query becomes eligible for removal by anyone. Is used to set + // `submit_timeout` on Interchain Query registration. uint64 query_submit_timeout = 1; // Amount of coins required to be provided as deposit on Interchain Query registration. repeated cosmos.base.v1beta1.Coin query_deposit = 2 [ diff --git a/proto/neutron/interchainqueries/query.proto b/proto/neutron/interchainqueries/query.proto index 31558f28e..dab826d44 100644 --- a/proto/neutron/interchainqueries/query.proto +++ b/proto/neutron/interchainqueries/query.proto @@ -42,7 +42,7 @@ message QueryParamsRequest {} // Response type for the Query/Params RPC method. message QueryParamsResponse { - // Stores all parameters of the module. + // Contains all parameters of the module. Params params = 1 [(gogoproto.nullable) = false]; } diff --git a/proto/neutron/interchainqueries/tx.proto b/proto/neutron/interchainqueries/tx.proto index 7361a56cd..175ee3736 100644 --- a/proto/neutron/interchainqueries/tx.proto +++ b/proto/neutron/interchainqueries/tx.proto @@ -119,7 +119,8 @@ message StorageValue { bytes key = 2; // A base64-encoded value read from the given storage path. bytes value = 3; - // The Merkle Proof which proves existence of key-value pair in IAVL storage. Is used to verify + // The Merkle Proof which proves existence/nonexistence of key-value pair in IAVL storage. Is + // used to verify // the pair against the respective remote chain's header. tendermint.crypto.ProofOps Proof = 4; } diff --git a/x/interchainqueries/types/genesis.pb.go b/x/interchainqueries/types/genesis.pb.go index b004a6786..b97fa175e 100644 --- a/x/interchainqueries/types/genesis.pb.go +++ b/x/interchainqueries/types/genesis.pb.go @@ -56,8 +56,8 @@ type RegisteredQuery struct { // Amount of coins paid for the Interchain Query registration. The deposit is paid back to the // remover. The remover can be either the query owner (during the submit timeout) or anybody. Deposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,10,rep,name=deposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"deposit"` - // Duration in blocks that is required to pass since the query registration/update for the - // query to become available for anybody to be removed. + // The duration, measured in blocks, that must pass since the query's registration or its last + // result submission before the query becomes eligible for removal by anyone. SubmitTimeout uint64 `protobuf:"varint,11,opt,name=submit_timeout,json=submitTimeout,proto3" json:"submit_timeout,omitempty"` // The local chain block height of the Interchain Query registration. RegisteredAtHeight uint64 `protobuf:"varint,12,opt,name=registered_at_height,json=registeredAtHeight,proto3" json:"registered_at_height,omitempty"` diff --git a/x/interchainqueries/types/params.pb.go b/x/interchainqueries/types/params.pb.go index 4c8a9a5cd..cb97993ae 100644 --- a/x/interchainqueries/types/params.pb.go +++ b/x/interchainqueries/types/params.pb.go @@ -27,8 +27,9 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // The parameters for the module. type Params struct { - // The amount of blocks required to pass since an Interchain Query registration/update for the - // query to become available for removal by anybody. + // The duration, measured in blocks, that must pass since the query's registration or its last + // result submission before the query becomes eligible for removal by anyone. Is used to set + // `submit_timeout` on Interchain Query registration. QuerySubmitTimeout uint64 `protobuf:"varint,1,opt,name=query_submit_timeout,json=querySubmitTimeout,proto3" json:"query_submit_timeout,omitempty"` // Amount of coins required to be provided as deposit on Interchain Query registration. QueryDeposit github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=query_deposit,json=queryDeposit,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"query_deposit"` diff --git a/x/interchainqueries/types/query.pb.go b/x/interchainqueries/types/query.pb.go index c2222f9c5..c8a5180de 100644 --- a/x/interchainqueries/types/query.pb.go +++ b/x/interchainqueries/types/query.pb.go @@ -69,7 +69,7 @@ var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo // Response type for the Query/Params RPC method. type QueryParamsResponse struct { - // Stores all parameters of the module. + // Contains all parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` } diff --git a/x/interchainqueries/types/tx.pb.go b/x/interchainqueries/types/tx.pb.go index 49e731566..3dd981da0 100644 --- a/x/interchainqueries/types/tx.pb.go +++ b/x/interchainqueries/types/tx.pb.go @@ -355,7 +355,8 @@ type StorageValue struct { Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // A base64-encoded value read from the given storage path. Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - // The Merkle Proof which proves existence of key-value pair in IAVL storage. Is used to verify + // The Merkle Proof which proves existence/nonexistence of key-value pair in IAVL storage. Is + // used to verify // the pair against the respective remote chain's header. Proof *crypto.ProofOps `protobuf:"bytes,4,opt,name=Proof,proto3" json:"Proof,omitempty"` }