From 0ea92335de5910fa4fdd857f7322a11917af078f Mon Sep 17 00:00:00 2001 From: alex <152680487+bodhi-crypo@users.noreply.github.com> Date: Fri, 5 Apr 2024 22:02:52 +0800 Subject: [PATCH] fix:paramaters->paramaters (#1796) Fix misspellings across docs & comments --- docs/core/proto-docs.md | 14 +++++++------- proto/kava/bep3/v1beta1/genesis.proto | 2 +- proto/kava/cdp/v1beta1/genesis.proto | 2 +- proto/kava/community/v1beta1/genesis.proto | 2 +- proto/kava/earn/v1beta1/genesis.proto | 2 +- proto/kava/issuance/v1beta1/genesis.proto | 2 +- proto/kava/pricefeed/v1beta1/genesis.proto | 2 +- proto/kava/swap/v1beta1/genesis.proto | 2 +- x/auction/spec/02_state.md | 2 +- x/bep3/spec/02_state.md | 2 +- x/bep3/types/genesis.pb.go | 2 +- x/cdp/types/genesis.pb.go | 2 +- x/community/spec/02_state.md | 2 +- x/community/types/genesis.pb.go | 2 +- x/earn/types/genesis.pb.go | 2 +- x/issuance/types/genesis.pb.go | 2 +- x/pricefeed/spec/02_state.md | 2 +- x/pricefeed/types/genesis.pb.go | 2 +- x/swap/types/genesis.pb.go | 2 +- 19 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/core/proto-docs.md b/docs/core/proto-docs.md index eb95d96a..80adc6c3 100644 --- a/docs/core/proto-docs.md +++ b/docs/core/proto-docs.md @@ -1122,7 +1122,7 @@ GenesisState defines the pricefeed module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#kava.bep3.v1beta1.Params) | | params defines all the paramaters of the module. | +| `params` | [Params](#kava.bep3.v1beta1.Params) | | params defines all the parameters of the module. | | `atomic_swaps` | [AtomicSwap](#kava.bep3.v1beta1.AtomicSwap) | repeated | atomic_swaps represents the state of stored atomic swaps | | `supplies` | [AssetSupply](#kava.bep3.v1beta1.AssetSupply) | repeated | supplies represents the supply information of each atomic swap | | `previous_block_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | previous_block_time represents the time of the previous block | @@ -1653,7 +1653,7 @@ GenesisState defines the cdp module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#kava.cdp.v1beta1.Params) | | params defines all the paramaters of the module. | +| `params` | [Params](#kava.cdp.v1beta1.Params) | | params defines all the parameters of the module. | | `cdps` | [CDP](#kava.cdp.v1beta1.CDP) | repeated | | | `deposits` | [Deposit](#kava.cdp.v1beta1.Deposit) | repeated | | | `starting_cdp_id` | [uint64](#uint64) | | | @@ -2996,7 +2996,7 @@ GenesisState defines the community module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#kava.community.v1beta1.Params) | | params defines all the paramaters related to commmunity | +| `params` | [Params](#kava.community.v1beta1.Params) | | params defines all the parameters related to commmunity | | `staking_rewards_state` | [StakingRewardsState](#kava.community.v1beta1.StakingRewardsState) | | StakingRewardsState stores the internal staking reward data required to track staking rewards across blocks | @@ -3467,7 +3467,7 @@ GenesisState defines the earn module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#kava.earn.v1beta1.Params) | | params defines all the paramaters related to earn | +| `params` | [Params](#kava.earn.v1beta1.Params) | | params defines all the parameters related to earn | | `vault_records` | [VaultRecord](#kava.earn.v1beta1.VaultRecord) | repeated | vault_records defines the available vaults | | `vault_share_records` | [VaultShareRecord](#kava.earn.v1beta1.VaultShareRecord) | repeated | share_records defines the owned shares of each vault | @@ -5908,7 +5908,7 @@ GenesisState defines the issuance module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#kava.issuance.v1beta1.Params) | | params defines all the paramaters of the module. | +| `params` | [Params](#kava.issuance.v1beta1.Params) | | params defines all the parameters of the module. | | `supplies` | [AssetSupply](#kava.issuance.v1beta1.AssetSupply) | repeated | | @@ -6724,7 +6724,7 @@ GenesisState defines the pricefeed module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#kava.pricefeed.v1beta1.Params) | | params defines all the paramaters of the module. | +| `params` | [Params](#kava.pricefeed.v1beta1.Params) | | params defines all the parameters of the module. | | `posted_prices` | [PostedPrice](#kava.pricefeed.v1beta1.PostedPrice) | repeated | | @@ -7560,7 +7560,7 @@ GenesisState defines the swap module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#kava.swap.v1beta1.Params) | | params defines all the paramaters related to swap | +| `params` | [Params](#kava.swap.v1beta1.Params) | | params defines all the parameters related to swap | | `pool_records` | [PoolRecord](#kava.swap.v1beta1.PoolRecord) | repeated | pool_records defines the available pools | | `share_records` | [ShareRecord](#kava.swap.v1beta1.ShareRecord) | repeated | share_records defines the owned shares of each pool | diff --git a/proto/kava/bep3/v1beta1/genesis.proto b/proto/kava/bep3/v1beta1/genesis.proto index 16ad0bc7..1e353ea6 100644 --- a/proto/kava/bep3/v1beta1/genesis.proto +++ b/proto/kava/bep3/v1beta1/genesis.proto @@ -9,7 +9,7 @@ option go_package = "github.com/kava-labs/kava/x/bep3/types"; // GenesisState defines the pricefeed module's genesis state. message GenesisState { - // params defines all the paramaters of the module. + // params defines all the parameters of the module. Params params = 1 [(gogoproto.nullable) = false]; // atomic_swaps represents the state of stored atomic swaps diff --git a/proto/kava/cdp/v1beta1/genesis.proto b/proto/kava/cdp/v1beta1/genesis.proto index 241d385b..a993bbae 100644 --- a/proto/kava/cdp/v1beta1/genesis.proto +++ b/proto/kava/cdp/v1beta1/genesis.proto @@ -11,7 +11,7 @@ option go_package = "github.com/kava-labs/kava/x/cdp/types"; // GenesisState defines the cdp module's genesis state. message GenesisState { - // params defines all the paramaters of the module. + // params defines all the parameters of the module. Params params = 1 [(gogoproto.nullable) = false]; repeated CDP cdps = 2 [ diff --git a/proto/kava/community/v1beta1/genesis.proto b/proto/kava/community/v1beta1/genesis.proto index 08b5a4e5..f7f6549d 100644 --- a/proto/kava/community/v1beta1/genesis.proto +++ b/proto/kava/community/v1beta1/genesis.proto @@ -9,7 +9,7 @@ option go_package = "github.com/kava-labs/kava/x/community/types"; // GenesisState defines the community module's genesis state. message GenesisState { - // params defines all the paramaters related to commmunity + // params defines all the parameters related to commmunity Params params = 1 [(gogoproto.nullable) = false]; // StakingRewardsState stores the internal staking reward data required to diff --git a/proto/kava/earn/v1beta1/genesis.proto b/proto/kava/earn/v1beta1/genesis.proto index b462f9f8..38b73bb4 100644 --- a/proto/kava/earn/v1beta1/genesis.proto +++ b/proto/kava/earn/v1beta1/genesis.proto @@ -9,7 +9,7 @@ option go_package = "github.com/kava-labs/kava/x/earn/types"; // GenesisState defines the earn module's genesis state. message GenesisState { - // params defines all the paramaters related to earn + // params defines all the parameters related to earn Params params = 1 [(gogoproto.nullable) = false]; // vault_records defines the available vaults repeated VaultRecord vault_records = 2 [ diff --git a/proto/kava/issuance/v1beta1/genesis.proto b/proto/kava/issuance/v1beta1/genesis.proto index e97ba29e..4f791de2 100644 --- a/proto/kava/issuance/v1beta1/genesis.proto +++ b/proto/kava/issuance/v1beta1/genesis.proto @@ -9,7 +9,7 @@ option go_package = "github.com/kava-labs/kava/x/issuance/types"; // GenesisState defines the issuance module's genesis state. message GenesisState { - // params defines all the paramaters of the module. + // params defines all the parameters of the module. Params params = 1 [(gogoproto.nullable) = false]; repeated AssetSupply supplies = 2 [(gogoproto.nullable) = false]; diff --git a/proto/kava/pricefeed/v1beta1/genesis.proto b/proto/kava/pricefeed/v1beta1/genesis.proto index 9fcd81ec..84e263e8 100644 --- a/proto/kava/pricefeed/v1beta1/genesis.proto +++ b/proto/kava/pricefeed/v1beta1/genesis.proto @@ -10,7 +10,7 @@ option (gogoproto.verbose_equal_all) = true; // GenesisState defines the pricefeed module's genesis state. message GenesisState { - // params defines all the paramaters of the module. + // params defines all the parameters of the module. Params params = 1 [(gogoproto.nullable) = false]; repeated PostedPrice posted_prices = 2 [ diff --git a/proto/kava/swap/v1beta1/genesis.proto b/proto/kava/swap/v1beta1/genesis.proto index 10da28a1..dfdb5cb9 100644 --- a/proto/kava/swap/v1beta1/genesis.proto +++ b/proto/kava/swap/v1beta1/genesis.proto @@ -8,7 +8,7 @@ option go_package = "github.com/kava-labs/kava/x/swap/types"; // GenesisState defines the swap module's genesis state. message GenesisState { - // params defines all the paramaters related to swap + // params defines all the parameters related to swap Params params = 1 [(gogoproto.nullable) = false]; // pool_records defines the available pools repeated PoolRecord pool_records = 2 [ diff --git a/x/auction/spec/02_state.md b/x/auction/spec/02_state.md index 2e0fd5ac..335866e7 100644 --- a/x/auction/spec/02_state.md +++ b/x/auction/spec/02_state.md @@ -6,7 +6,7 @@ order: 2 ## Parameters and genesis state -`Paramaters` define the rules according to which auctions are run. There is only one active parameter set at any given time. Updates to the parameter set can be made via on-chain parameter update proposals. +`parameters` define the rules according to which auctions are run. There is only one active parameter set at any given time. Updates to the parameter set can be made via on-chain parameter update proposals. ```go // Params governance parameters for auction module diff --git a/x/bep3/spec/02_state.md b/x/bep3/spec/02_state.md index b38a6e46..5741f8ea 100644 --- a/x/bep3/spec/02_state.md +++ b/x/bep3/spec/02_state.md @@ -6,7 +6,7 @@ order: 2 ## Parameters and genesis state -`Paramaters` define the rules according to which swaps are executed. Parameter updates can be made via on-chain parameter update proposals. +`parameters` define the rules according to which swaps are executed. Parameter updates can be made via on-chain parameter update proposals. ```go // Params governance parameters for bep3 module diff --git a/x/bep3/types/genesis.pb.go b/x/bep3/types/genesis.pb.go index b5f132d9..83cc2815 100644 --- a/x/bep3/types/genesis.pb.go +++ b/x/bep3/types/genesis.pb.go @@ -29,7 +29,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the pricefeed module's genesis state. type GenesisState struct { - // params defines all the paramaters of the module. + // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // atomic_swaps represents the state of stored atomic swaps AtomicSwaps AtomicSwaps `protobuf:"bytes,2,rep,name=atomic_swaps,json=atomicSwaps,proto3,castrepeated=AtomicSwaps" json:"atomic_swaps"` diff --git a/x/cdp/types/genesis.pb.go b/x/cdp/types/genesis.pb.go index 87c4b5d9..49ba9a75 100644 --- a/x/cdp/types/genesis.pb.go +++ b/x/cdp/types/genesis.pb.go @@ -32,7 +32,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the cdp module's genesis state. type GenesisState struct { - // params defines all the paramaters of the module. + // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` CDPs CDPs `protobuf:"bytes,2,rep,name=cdps,proto3,castrepeated=CDPs" json:"cdps"` Deposits Deposits `protobuf:"bytes,3,rep,name=deposits,proto3,castrepeated=Deposits" json:"deposits"` diff --git a/x/community/spec/02_state.md b/x/community/spec/02_state.md index 14ca2dc3..b2dbcb2a 100644 --- a/x/community/spec/02_state.md +++ b/x/community/spec/02_state.md @@ -47,7 +47,7 @@ the parameters and staking rewards state to keep track of payout between blocks. ```protobuf // GenesisState defines the community module's genesis state. message GenesisState { - // params defines all the paramaters related to commmunity + // params defines all the parameters related to commmunity Params params = 1 [(gogoproto.nullable) = false]; // StakingRewardsState stores the internal staking reward data required to diff --git a/x/community/types/genesis.pb.go b/x/community/types/genesis.pb.go index 82025aef..7f4674c0 100644 --- a/x/community/types/genesis.pb.go +++ b/x/community/types/genesis.pb.go @@ -25,7 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the community module's genesis state. type GenesisState struct { - // params defines all the paramaters related to commmunity + // params defines all the parameters related to commmunity Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // StakingRewardsState stores the internal staking reward data required to // track staking rewards across blocks diff --git a/x/earn/types/genesis.pb.go b/x/earn/types/genesis.pb.go index c7a2b2f3..ff3b0779 100644 --- a/x/earn/types/genesis.pb.go +++ b/x/earn/types/genesis.pb.go @@ -25,7 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the earn module's genesis state. type GenesisState struct { - // params defines all the paramaters related to earn + // params defines all the parameters related to earn Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // vault_records defines the available vaults VaultRecords VaultRecords `protobuf:"bytes,2,rep,name=vault_records,json=vaultRecords,proto3,castrepeated=VaultRecords" json:"vault_records"` diff --git a/x/issuance/types/genesis.pb.go b/x/issuance/types/genesis.pb.go index 2dcb5067..612b89c4 100644 --- a/x/issuance/types/genesis.pb.go +++ b/x/issuance/types/genesis.pb.go @@ -31,7 +31,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the issuance module's genesis state. type GenesisState struct { - // params defines all the paramaters of the module. + // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` Supplies []AssetSupply `protobuf:"bytes,2,rep,name=supplies,proto3" json:"supplies"` } diff --git a/x/pricefeed/spec/02_state.md b/x/pricefeed/spec/02_state.md index 048c0dc7..6fd95426 100644 --- a/x/pricefeed/spec/02_state.md +++ b/x/pricefeed/spec/02_state.md @@ -6,7 +6,7 @@ order: 2 ## Parameters and genesis state -`Paramaters` determine which markets are tracked by the pricefeed and which oracles are authorized to post prices for a given market. There is only one active parameter set at any given time. Updates to parameters can be made via on-chain parameter update proposals. +`parameters` determine which markets are tracked by the pricefeed and which oracles are authorized to post prices for a given market. There is only one active parameter set at any given time. Updates to parameters can be made via on-chain parameter update proposals. ```go // Params params for pricefeed. Can be altered via governance diff --git a/x/pricefeed/types/genesis.pb.go b/x/pricefeed/types/genesis.pb.go index 23e11c0c..3b2d8074 100644 --- a/x/pricefeed/types/genesis.pb.go +++ b/x/pricefeed/types/genesis.pb.go @@ -25,7 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the pricefeed module's genesis state. type GenesisState struct { - // params defines all the paramaters of the module. + // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` PostedPrices PostedPrices `protobuf:"bytes,2,rep,name=posted_prices,json=postedPrices,proto3,castrepeated=PostedPrices" json:"posted_prices"` } diff --git a/x/swap/types/genesis.pb.go b/x/swap/types/genesis.pb.go index 7796cf76..a58cc8c4 100644 --- a/x/swap/types/genesis.pb.go +++ b/x/swap/types/genesis.pb.go @@ -25,7 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the swap module's genesis state. type GenesisState struct { - // params defines all the paramaters related to swap + // params defines all the parameters related to swap Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // pool_records defines the available pools PoolRecords PoolRecords `protobuf:"bytes,2,rep,name=pool_records,json=poolRecords,proto3,castrepeated=PoolRecords" json:"pool_records"`