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 #284

Open
wants to merge 5 commits 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 app/params/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ It contains the default weights used for each transaction used on the module's
simulation. These weights define the chance for a transaction to be simulated at
any gived operation.

You can repace the default values for the weights by providing a params.json
You can replace the default values for the weights by providing a params.json
file with the weights defined for each of the transaction operations:

{
Expand Down
2 changes: 1 addition & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Scripts

These scripts are copied from the [Cosmos-SDK](https://github.com/cosmos/cosmos-sdk/tree/v0.42.1/scripts) respository
These scripts are copied from the [Cosmos-SDK](https://github.com/cosmos/cosmos-sdk/tree/v0.42.1/scripts) repository
with minor modifications. All credits and big thanks go to the original authors.

Please note that a custom [fork](github.com/regen-network/protobuf) by the Regen network team is used.
Expand Down
2 changes: 1 addition & 1 deletion x/globalfee/ante/antetest/fee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func (s *IntegrationTestSuite) TestGetTxFeeRequired() {
// setup tests with default global fee i.e. "0uxion" and empty local min gas prices
feeDecorator, _ := s.SetupTestGlobalFeeStoreAndMinGasPrice([]sdk.DecCoin{}, globalfeeParamsEmpty, noBondDenom)

// set a subspace that doesn't have the stakingtypes.KeyBondDenom key registred
// set a subspace that doesn't have the stakingtypes.KeyBondDenom key registered
// feeDecorator.StakingSubspace = s.app.GetSubspace(globfeetypes.ModuleName)

// check that an error is returned when staking bond denom is empty
Expand Down
2 changes: 1 addition & 1 deletion x/jwk/client/cli/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
func CmdConvertPemToJSON() *cobra.Command {
cmd := &cobra.Command{
Use: "convert-pem [file] [alg | optional]",
Short: "Convery PEM to JSON",
Short: "Convert PEM to JSON",
Args: cobra.RangeArgs(1, 2),
RunE: func(cmd *cobra.Command, args []string) (err error) {
publicKeyBz, err := os.ReadFile(args[0])
Expand Down
2 changes: 1 addition & 1 deletion x/mint/abci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func TestBeginBlocker(t *testing.T) {
assert.Equalf(t, 1, len(events), "A single event must be emitted. However %d events were emitted", len(events))
event := events[0]
assert.Equalf(t, "xion.mint.v1.MintIncentiveTokens", event.Type, "Expected event to be xion.mint.v1.MintIncentiveTokens but found: %s", event.Type)
assert.Equalf(t, 7, len(event.Attributes), "Expcted 7 attributes but found %d", len(event.Attributes))
assert.Equalf(t, 7, len(event.Attributes), "Expected 7 attributes but found %d", len(event.Attributes))

assert.Equal(t, "annual_provisions", event.Attributes[0].Key)
assert.Equal(t, tc.expected.annualProvisions, sdkmath.LegacyMustNewDecFromStr(stripValue(t, event.Attributes[0].Value)))
Expand Down