chore: fix some comments (#21238)

Signed-off-by: luozexuan <fetchcode@139.com>
This commit is contained in:
luozexuan 2024-08-09 20:29:07 +08:00 committed by GitHub
parent 1862e38c9c
commit 7f04ef89e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -728,7 +728,7 @@ And in the application client (usually `root.go`):
}
```
When using `depinject` / `app v2`, the a tx config should be recreated from the `txConfigOpts` to use `NewGRPCCoinMetadataQueryFn` instead of depending on the bank keeper (that is used in the server).
When using `depinject` / `app v2`, the tx config should be recreated from the `txConfigOpts` to use `NewGRPCCoinMetadataQueryFn` instead of depending on the bank keeper (that is used in the server).
To learn more see the [docs](https://docs.cosmos.network/main/learn/advanced/transactions#sign_mode_textual) and the [ADR-050](https://docs.cosmos.network/main/build/architecture/adr-050-sign-mode-textual).

View File

@ -3,7 +3,7 @@
# to independently set assumptions on input or intermediary variables.
#
# The general approach is:
# * A constraint is a tuple of two sets of of symbolic expressions:
# * A constraint is a tuple of two sets of symbolic expressions:
# the first of which are required to evaluate to zero, the second of which
# are required to evaluate to nonzero.
# - A constraint is said to be conflicting if any of its nonzero expressions

View File

@ -10,7 +10,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/address"
)
// NewBaseAccountWithPubKey creates an account with an a pubkey.
// NewBaseAccountWithPubKey creates an account with a pubkey.
func NewBaseAccountWithPubKey(pubkey cryptotypes.PubKey) (*BaseAccount, error) {
if pubkey == nil {
return nil, errors.New("pubkey cannot be nil")