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 comments #329

Open
wants to merge 1 commit into
base: main
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 prost_build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## Notes

For some reason, the `type_attribute` config method is not working the the `CellarIdSet` type, therefore whenever `prost_build` gets run, we have to manually add the `serde::Deserialize` and `serde::Serialize` attributes to it.
For some reason, the `type_attribute` config method is not working the `CellarIdSet` type, therefore whenever `prost_build` gets run, we have to manually add the `serde::Deserialize` and `serde::Serialize` attributes to it.
2 changes: 1 addition & 1 deletion x/addresses/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import fmt "fmt"
// DefaultIndex is the default global index
const DefaultIndex uint64 = 1

// DefaultGenesis returns the default genesis state
// DefaultGenesisState returns the default genesis state
func DefaultGenesisState() GenesisState {
return GenesisState{
Params: DefaultParams(),
Expand Down
2 changes: 1 addition & 1 deletion x/cellarfees/keeper/cellarfees.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (k Keeper) GetEmission(ctx sdk.Context, remainingRewardsSupply math.Int) sd
} else if emissionAmount.GTE(remainingRewardsSupply) {
// We zero out the previous peak value here to avoid doing it every block. We set the final emission
// to the remaining supply here even though it's potentially redundant because it's less code than
// having another check where we would also have to zero out the prevoius peak supply.
// having another check where we would also have to zero out the previous peak supply.
k.SetLastRewardSupplyPeak(ctx, sdk.ZeroInt())
emissionAmount = remainingRewardsSupply
}
Expand Down
2 changes: 1 addition & 1 deletion x/cellarfees/migrations/v1/keeper/cellarfees.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (k Keeper) GetEmission(ctx sdk.Context, remainingRewardsSupply math.Int) sd
} else if emissionAmount.GTE(remainingRewardsSupply) {
// We zero out the previous peak value here to avoid doing it every block. We set the final emission
// to the remaining supply here even though it's potentially redundant because it's less code than
// having another check where we would also have to zero out the prevoius peak supply.
// having another check where we would also have to zero out the previous peak supply.
k.SetLastRewardSupplyPeak(ctx, sdk.ZeroInt())
emissionAmount = remainingRewardsSupply
}
Expand Down