diff --git a/baseapp/abci.go b/baseapp/abci.go index ca4e4408d7..c1346cf77d 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -924,7 +924,7 @@ func (app *BaseApp) FinalizeBlock(req *abci.FinalizeBlockRequest) (res *abci.Fin return res, err } -// checkHalt checkes if height or time exceeds halt-height or halt-time respectively. +// checkHalt checks if height or time exceeds halt-height or halt-time respectively. func (app *BaseApp) checkHalt(height int64, time time.Time) error { var halt bool switch { diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index 972e727620..16f84645aa 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -165,7 +165,7 @@ type BaseApp struct { // nextBlockDelay is the delay to wait until the next block after ABCI has committed. // This gives the application more time to receive precommits. This is the same as TimeoutCommit, - // but can new be set from the application. This value defaults to 0, and CometBFT will use the + // but can now be set from the application. This value defaults to 0, and CometBFT will use the // legacy value set in config.toml if it is 0. nextBlockDelay time.Duration } diff --git a/baseapp/state/state.go b/baseapp/state/state.go index 7e3f2e4251..fedfe5b1fd 100644 --- a/baseapp/state/state.go +++ b/baseapp/state/state.go @@ -22,7 +22,7 @@ func NewState(ctx sdk.Context, ms storetypes.CacheMultiStore) *State { } } -// CacheMultiStore calls and returns a CacheMultiStore on the state's underling +// CacheMultiStore calls and returns a CacheMultiStore on the state's underlying // CacheMultiStore. func (st *State) CacheMultiStore() storetypes.CacheMultiStore { return st.MultiStore.CacheMultiStore() diff --git a/client/keys/import.go b/client/keys/import.go index b30b3f80d5..b357c46275 100644 --- a/client/keys/import.go +++ b/client/keys/import.go @@ -19,7 +19,7 @@ func ImportKeyCommand() *cobra.Command { return &cobra.Command{ Use: "import ", Short: "Import private keys into the local keybase", - Long: "Import a ASCII armored private key into the local keybase.", + Long: "Import an ASCII armored private key into the local keybase.", Args: cobra.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) error { clientCtx, err := client.GetClientQueryContext(cmd) diff --git a/docs/architecture/adr-043-nft-module.md b/docs/architecture/adr-043-nft-module.md index f3f2b7d8a8..7c8dfcd11e 100644 --- a/docs/architecture/adr-043-nft-module.md +++ b/docs/architecture/adr-043-nft-module.md @@ -253,7 +253,7 @@ message QuerySupplyResponse { uint64 amount = 1; } -// QueryNFTstRequest is the request type for the Query/NFTs RPC method +// QueryNFTsRequest is the request type for the Query/NFTs RPC method message QueryNFTsRequest { string class_id = 1; string owner = 2; diff --git a/docs/architecture/adr-048-consensus-fees.md b/docs/architecture/adr-048-consensus-fees.md index e59e899dfd..6fbaeef6eb 100644 --- a/docs/architecture/adr-048-consensus-fees.md +++ b/docs/architecture/adr-048-consensus-fees.md @@ -1,4 +1,4 @@ -# ADR 048: Multi Tire Gas Price System +# ADR 048: Multi Tier Gas Price System ## Changelog @@ -26,7 +26,7 @@ We propose a multi-tier price system on consensus to provide maximum flexibility * Tier 2: a dynamic gas price which is adjusted according to previous block load. * Tier 3: a dynamic gas price which is adjusted according to previous block load at a higher speed. -The gas price of higher tier should bigger than the lower tier. +The gas price of higher tier should be bigger than the lower tier. The transaction fees are charged with the exact gas price calculated on consensus. diff --git a/docs/architecture/adr-054-semver-compatible-modules.md b/docs/architecture/adr-054-semver-compatible-modules.md index 7f6c28f0dc..2152e1a95a 100644 --- a/docs/architecture/adr-054-semver-compatible-modules.md +++ b/docs/architecture/adr-054-semver-compatible-modules.md @@ -644,7 +644,7 @@ type IntegrationTestConfig struct { } // Run runs the test function for all combinations of dependency modules. -func (cfg IntegationTestConfig) Run(t *testing.T, f func (t *testing.T, f IntegrationTestFixture)) { +func (cfg IntegrationTestConfig) Run(t *testing.T, f func (t *testing.T, f IntegrationTestFixture)) { // ... } ``` diff --git a/docs/docs/user/run-node/06-run-production.md b/docs/docs/user/run-node/06-run-production.md index b9fd3d0b49..1e43d084a2 100644 --- a/docs/docs/user/run-node/06-run-production.md +++ b/docs/docs/user/run-node/06-run-production.md @@ -202,7 +202,7 @@ At this point, it is necessary to delete the `priv_validator_key.json` from the vim $HOME/tmkms/config/tmkms.toml ``` -This example shows a configuration that could be used for soft signing. The example has an IP of `123.456.12.345` with a port of `26659` a chain_id of `test-chain-waSDSe`. These are items that most be modified for the usecase of tmkms and the network. +This example shows a configuration that could be used for soft signing. The example has an IP of `123.456.12.345` with a port of `26659` a chain_id of `test-chain-waSDSe`. These are items that must be modified for the usecase of tmkms and the network. ```toml # CometBFT KMS configuration file diff --git a/docs/rfc/rfc-001-tx-validation.md b/docs/rfc/rfc-001-tx-validation.md index c8abb8cb61..d3c190212a 100644 --- a/docs/rfc/rfc-001-tx-validation.md +++ b/docs/rfc/rfc-001-tx-validation.md @@ -16,7 +16,7 @@ With the separation of CometBFT and Cosmos-SDK, there is a lack of control of wh The acceptance of this RFC would move validation within `ValidateBasic` to the message server in modules, update tutorials and docs to remove mention of using `ValidateBasic` in favour of handling all validation for a message where it is executed. -We can and will still support the `Validatebasic` function for users and provide an extension interface of the function once `sdk.Msg` is deprecated. +We can and will still support the `ValidateBasic` function for users and provide an extension interface of the function once `sdk.Msg` is deprecated. > Note: This is how messages are handled in VMs like Ethereum and CosmWasm.