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 some typos in comment #2063

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion docs/core/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3010,7 +3010,7 @@ GenesisState defines the community module's genesis state.

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#kava.community.v1beta1.Params) | | params defines all the parameters related to commmunity |
| `params` | [Params](#kava.community.v1beta1.Params) | | params defines all the parameters related to community |
| `staking_rewards_state` | [StakingRewardsState](#kava.community.v1beta1.StakingRewardsState) | | StakingRewardsState stores the internal staking reward data required to track staking rewards across blocks |


Expand Down
2 changes: 1 addition & 1 deletion proto/kava/community/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 parameters related to commmunity
// params defines all the parameters related to community
Params params = 1 [(gogoproto.nullable) = false];

// StakingRewardsState stores the internal staking reward data required to
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/e2e_precompile_genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/kava-labs/kava/precompile/registry"
)

// TestPrecompileGenesis tests that the the following is true for enabled precompiles:
// TestPrecompileGenesis tests that the following is true for enabled precompiles:
//
// - An enabled precompile has an EthAccount with matching code hash,
// sequence of 1, and no public key
Expand Down
2 changes: 1 addition & 1 deletion x/community/spec/02_state.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 parameters related to commmunity
// params defines all the parameters related to community
Params params = 1 [(gogoproto.nullable) = false];

// StakingRewardsState stores the internal staking reward data required to
Expand Down
2 changes: 1 addition & 1 deletion x/community/testutil/staking_rewards.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (suite *stakingRewardsTestSuite) TestStakingRewards() {
// fund withexact amount from test case
suite.App.FundAccount(ctx, poolAcc.GetAddress(), sdk.NewCoins(sdk.NewCoin("ukava", tc.communityPoolFunds)))

// get starting balance of fee collector to substract later in case this is non-zero in genesis
// get starting balance of fee collector to subtract later in case this is non-zero in genesis
feeCollectorAcc := accountKeeper.GetModuleAccount(ctx, authtypes.FeeCollectorName)
initialFeeCollectorBalance := bankKeeper.GetBalance(ctx, feeCollectorAcc.GetAddress(), "ukava").Amount

Expand Down
2 changes: 1 addition & 1 deletion x/community/types/genesis.pb.go

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

Loading