diff --git a/app/params/doc.go b/app/params/doc.go index 7c6035ca..e9ba900f 100644 --- a/app/params/doc.go +++ b/app/params/doc.go @@ -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: { diff --git a/scripts/README.md b/scripts/README.md index c0aba168..78f08b19 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -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. diff --git a/x/globalfee/ante/antetest/fee_test.go b/x/globalfee/ante/antetest/fee_test.go index 08dcd2c4..e36681c0 100644 --- a/x/globalfee/ante/antetest/fee_test.go +++ b/x/globalfee/ante/antetest/fee_test.go @@ -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 diff --git a/x/jwk/client/cli/util.go b/x/jwk/client/cli/util.go index e6ba75cd..bd768e38 100644 --- a/x/jwk/client/cli/util.go +++ b/x/jwk/client/cli/util.go @@ -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]) diff --git a/x/mint/abci_test.go b/x/mint/abci_test.go index 0bb019e0..1fccaa07 100644 --- a/x/mint/abci_test.go +++ b/x/mint/abci_test.go @@ -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)))