Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix proto / typo #308

Merged
merged 4 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 24 additions & 26 deletions api/ibc/applications/perm/v1/types.pulsar.go

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

1 change: 1 addition & 0 deletions api/initia/gov/v1/gov.pulsar.go

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

6 changes: 3 additions & 3 deletions api/initia/mstaking/v1/query.pulsar.go

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

2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

41 changes: 21 additions & 20 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12102,7 +12102,7 @@ paths:
vetoed. Default value: 1/3.
params:
description: |-
params defines all the parameters of x/gov module.
params defines all the paramaters of x/gov module.

Since: cosmos-sdk 0.47
type: object
Expand Down Expand Up @@ -20343,7 +20343,7 @@ paths:
- Query
/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}:
get:
summary: Allowance returns granted allowance to the grantee by the granter.
summary: Allowance returns granted allwance to the grantee by the granter.
operationId: Allowance
responses:
'200':
Expand Down Expand Up @@ -34969,7 +34969,7 @@ paths:
format: uint64
- name: latest_height
description: >-
latest_height overrides the height field and queries the latest
latest_height overrrides the height field and queries the latest
stored

ConsensusState.
Expand Down Expand Up @@ -36564,7 +36564,7 @@ paths:
identifier
description: >-
Version defines the versioning scheme used to
negotiate the IBC version in
negotiate the IBC verison in

the connection handshake.
title: >-
Expand Down Expand Up @@ -36973,7 +36973,7 @@ paths:
identifier
description: >-
Version defines the versioning scheme used to negotiate
the IBC version in
the IBC verison in

the connection handshake.
description: >-
Expand Down Expand Up @@ -44836,7 +44836,7 @@ paths:
bonded shares

multiplied by exchange rate.
description: validators defines the the validators' info of a delegator.
description: validators defines the validators' info of a delegator.
pagination:
description: pagination defines the pagination in the response.
type: object
Expand Down Expand Up @@ -52943,7 +52943,7 @@ paths:
finalization_period:
type: string
description: >-
The minimum time duration that must elapse before a
The minium time duration that must elapse before a
withdrawal can be finalized.
submission_start_height:
type: string
Expand Down Expand Up @@ -53114,7 +53114,7 @@ paths:
finalization_period:
type: string
description: >-
The minimum time duration that must elapse before a
The minium time duration that must elapse before a
withdrawal can be finalized.
submission_start_height:
type: string
Expand Down Expand Up @@ -65859,7 +65859,7 @@ definitions:
vetoed. Default value: 1/3.
params:
description: |-
params defines all the parameters of x/gov module.
params defines all the paramaters of x/gov module.

Since: cosmos-sdk 0.47
type: object
Expand Down Expand Up @@ -68743,7 +68743,7 @@ definitions:
gas to be used by the transaction. The ratio yields an effective
"gasprice",

which must be above some minimum to be accepted into the mempool.
which must be above some miminum to be accepted into the mempool.
cosmos.tx.v1beta1.GetBlockWithTxsResponse:
type: object
properties:
Expand Down Expand Up @@ -79635,7 +79635,7 @@ definitions:
title: list of features compatible with the specified identifier
description: >-
Version defines the versioning scheme used to negotiate the IBC
version in
verison in

the connection handshake.
description: >-
Expand Down Expand Up @@ -79757,7 +79757,7 @@ definitions:
title: list of features compatible with the specified identifier
description: >-
Version defines the versioning scheme used to negotiate the IBC
version in
verison in

the connection handshake.
title: >-
Expand Down Expand Up @@ -80342,7 +80342,7 @@ definitions:
title: list of features compatible with the specified identifier
description: >-
Version defines the versioning scheme used to negotiate the IBC
version in
verison in

the connection handshake.
description: >-
Expand Down Expand Up @@ -80479,7 +80479,7 @@ definitions:
title: list of features compatible with the specified identifier
description: >-
Version defines the versioning scheme used to negotiate the
IBC version in
IBC verison in

the connection handshake.
title: >-
Expand Down Expand Up @@ -80625,7 +80625,7 @@ definitions:
type: string
title: list of features compatible with the specified identifier
description: |-
Version defines the versioning scheme used to negotiate the IBC version in
Version defines the versioning scheme used to negotiate the IBC verison in
the connection handshake.
ibc.applications.transfer.v1.DenomTrace:
type: object
Expand Down Expand Up @@ -81747,7 +81747,7 @@ definitions:
format: uint64
title: packet sequence
title: |-
PacketId is an identifier for a unique Packet
PacketId is an identifer for a unique Packet
Source chains refer to packets by source port/channel
Destination chains refer to packets by destination port/channel
ibc.applications.perm.v1.ChannelState:
Expand Down Expand Up @@ -83596,7 +83596,7 @@ definitions:
exchange rate. Voting power can be calculated as total bonded shares

multiplied by exchange rate.
description: validators defines the the validators' info of a delegator.
description: validators defines the validators' info of a delegator.
pagination:
description: pagination defines the pagination in the response.
type: object
Expand Down Expand Up @@ -87557,6 +87557,7 @@ definitions:
description: >-
no_with_veto_count is the number of no with veto votes on a
proposal.
description: TallyResult defines the result of a tally.
initia.gov.v1.Vesting:
type: object
properties:
Expand Down Expand Up @@ -88440,7 +88441,7 @@ definitions:
finalization_period:
type: string
description: >-
The minimum time duration that must elapse before a withdrawal can be
The minium time duration that must elapse before a withdrawal can be
finalized.
submission_start_height:
type: string
Expand Down Expand Up @@ -88601,7 +88602,7 @@ definitions:
finalization_period:
type: string
description: >-
The minimum time duration that must elapse before a withdrawal can
The minium time duration that must elapse before a withdrawal can
be finalized.
submission_start_height:
type: string
Expand Down Expand Up @@ -88663,7 +88664,7 @@ definitions:
finalization_period:
type: string
description: >-
The minimum time duration that must elapse before a
The minium time duration that must elapse before a
withdrawal can be finalized.
submission_start_height:
type: string
Expand Down
2 changes: 0 additions & 2 deletions proto/ibc/applications/perm/v1/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package ibc.applications.perm.v1;

import "gogoproto/gogo.proto";

option go_package = "github.com/initia-labs/initia/x/ibc/perm/types";

// ChannelState defines the channel state for the specific port-id:channel-id pair.
Expand Down
1 change: 1 addition & 0 deletions proto/initia/gov/v1/gov.proto
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ message Vesting {
string creator_addr = 3;
}

// TallyResult defines the result of a tally.
message TallyResult {
uint64 tally_height = 1;
string total_staking_power = 2 [(cosmos_proto.scalar) = "cosmos.Int"];
Expand Down
6 changes: 3 additions & 3 deletions proto/initia/mstaking/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ message QueryValidatorRequest {

// QueryValidatorResponse is response type for the Query/Validator RPC method
message QueryValidatorResponse {
// validator defines the the validator info.
// validator defines the validator info.
Validator validator = 1 [(gogoproto.nullable) = false];
}

Expand Down Expand Up @@ -288,7 +288,7 @@ message QueryDelegatorValidatorsRequest {
// QueryDelegatorValidatorsResponse is response type for the
// Query/DelegatorValidators RPC method.
message QueryDelegatorValidatorsResponse {
// validators defines the the validators' info of a delegator.
// validators defines the validators' info of a delegator.
repeated Validator validators = 1 [(gogoproto.nullable) = false];

// pagination defines the pagination in the response.
Expand All @@ -311,7 +311,7 @@ message QueryDelegatorValidatorRequest {
// QueryDelegatorValidatorResponse response type for the
// Query/DelegatorValidator RPC method.
message QueryDelegatorValidatorResponse {
// validator defines the the validator info.
// validator defines the validator info.
Validator validator = 1 [(gogoproto.nullable) = false];
}

Expand Down
1 change: 1 addition & 0 deletions x/gov/types/gov.pb.go

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

2 changes: 1 addition & 1 deletion x/ibc/nft-transfer/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func (k Keeper) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, data t
return nil
}

// OnAcknowledgementPacket responds to the the success or failure of a packet
// OnAcknowledgementPacket responds to the success or failure of a packet
// acknowledgement written on the receiving chain. If the acknowledgement
// was a success then nothing occurs. If the acknowledgement failed, then
// the sender is refunded their tokens using the refundPacketToken function.
Expand Down
Loading
Loading