diff --git a/x/auction/types/auctions_test.go b/x/auction/types/auctions_test.go index 86efb9cd..99476bf9 100644 --- a/x/auction/types/auctions_test.go +++ b/x/auction/types/auctions_test.go @@ -84,7 +84,7 @@ func TestNewWeightedAddresses(t *testing.T) { }, } - // Run NewWeightedAdresses tests + // Run NewWeightedAddresses tests for _, tc := range tests { // Attempt to instantiate new WeightedAddresses weightedAddresses, err := NewWeightedAddresses(tc.addresses, tc.weights) diff --git a/x/bep3/abci_test.go b/x/bep3/abci_test.go index c07f843f..a0a51163 100644 --- a/x/bep3/abci_test.go +++ b/x/bep3/abci_test.go @@ -132,7 +132,7 @@ func (suite *ABCITestSuite) TestBeginBlocker_UpdateExpiredAtomicSwaps() { // Run the second begin blocker bep3.BeginBlocker(tc.secondCtx, suite.keeper) - // Check each swap's availibility and status + // Check each swap's availability and status for _, swapID := range suite.swapIDs { storedSwap, found := suite.keeper.GetAtomicSwap(tc.secondCtx, swapID) if tc.expectInStorage { diff --git a/x/bep3/types/swap.go b/x/bep3/types/swap.go index d5203223..aff0c50f 100644 --- a/x/bep3/types/swap.go +++ b/x/bep3/types/swap.go @@ -67,7 +67,7 @@ func (a AtomicSwap) Validate() error { if a.Recipient.Empty() { return errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "recipient cannot be empty") } - // NOTE: These adresses may not have a bech32 prefix. + // NOTE: These addresses may not have a bech32 prefix. if strings.TrimSpace(a.SenderOtherChain) == "" { return errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "sender other chain cannot be blank") } diff --git a/x/evmutil/keeper/bank_keeper.go b/x/evmutil/keeper/bank_keeper.go index 8061561b..865e6bde 100644 --- a/x/evmutil/keeper/bank_keeper.go +++ b/x/evmutil/keeper/bank_keeper.go @@ -30,7 +30,7 @@ var _ evmtypes.BankKeeper = EvmBankKeeper{} // x/evm consumes gas and send coins by minting and burning akava coins in its module // account and then sending the funds to the target account. // This keeper uses both the ukava coin and a separate akava balance to manage the -// extra percision needed by the evm. +// extra precision needed by the evm. type EvmBankKeeper struct { akavaKeeper Keeper bk types.BankKeeper diff --git a/x/evmutil/spec/01_concepts.md b/x/evmutil/spec/01_concepts.md index 7e3f9c82..0ea58003 100644 --- a/x/evmutil/spec/01_concepts.md +++ b/x/evmutil/spec/01_concepts.md @@ -46,7 +46,7 @@ When converting assets from the Cosmos co-chain to the EVM, the initiator is a ` `sdk.Coin`s native to the Cosmos co-chain can be converted to an ERC-20 representing the coin in the EVM. This works by transferring the coin from the initiator to `x/evmutil`'s module account and then minting an ERC-20 token to the receiver. Converting back, the initiator's ERC-20 representation of the coin is burned and the original Cosmos-native asset is transferred to the receiver. -Cosmos-native asset converstion is done through the use of the `MsgConvertCosmosCoinToERC20` & `MsgConvertCosmosCoinFromERC20` messages (see **[Messages](03_messages.md)**). +Cosmos-native asset conversion is done through the use of the `MsgConvertCosmosCoinToERC20` & `MsgConvertCosmosCoinFromERC20` messages (see **[Messages](03_messages.md)**). Only Cosmos co-chain denominations that are in the `AllowedCosmosDenoms` param (see **[Params](05_params.md)**) can be converted via these messages.