From 7f04ef89e5ed1898cf8af569f7a188aab64b9b89 Mon Sep 17 00:00:00 2001 From: luozexuan Date: Fri, 9 Aug 2024 20:29:07 +0800 Subject: [PATCH] chore: fix some comments (#21238) Signed-off-by: luozexuan --- UPGRADING.md | 2 +- .../internal/secp256k1/libsecp256k1/sage/group_prover.sage | 2 +- x/auth/types/credentials.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UPGRADING.md b/UPGRADING.md index 15d23e784482..e18fa5b830b6 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -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). diff --git a/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/sage/group_prover.sage b/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/sage/group_prover.sage index 68882e93659a..8521f0799932 100644 --- a/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/sage/group_prover.sage +++ b/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/sage/group_prover.sage @@ -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 diff --git a/x/auth/types/credentials.go b/x/auth/types/credentials.go index c2da54c22528..9597ca90333a 100644 --- a/x/auth/types/credentials.go +++ b/x/auth/types/credentials.go @@ -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")