From 7b89733bc7dcd33cea3e82b0dcb9bbbaf16fec5a Mon Sep 17 00:00:00 2001 From: drklee3 Date: Wed, 28 Feb 2024 11:40:49 -0800 Subject: [PATCH] style: Fix lint issues --- app/utils.go | 2 +- x/evm/testutil/suite.go | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/utils.go b/app/utils.go index 611187843a..f584f40490 100644 --- a/app/utils.go +++ b/app/utils.go @@ -116,7 +116,7 @@ func NewTestGenesisState(codec codec.Codec) simapp.GenesisState { // generate genesis account senderPrivKey := secp256k1.PrivKey{ - Key: common.Hex2Bytes("6b65793a225c745c3337355c33363627365c333735476c5c3331375f5c323530305c3031375c303237375c3337365c3234315c3336355c323136247d475c3237316a3c5c3336365f785c3337353b5c3336305c3031362220"), + Key: common.Hex2Bytes("6b65793a225c745c3337355c33363627365c333735476c5c3331375f5c323530305c3031375c303237375c3337365c3234315c3336355c323136247d475c3237316a3c5c3336365f785c3337353b5c3336305c3031362220"), //nolint:lll } acc := authtypes.NewBaseAccount(senderPrivKey.PubKey().Address().Bytes(), senderPrivKey.PubKey(), 0, 0) balance := banktypes.Balance{ diff --git a/x/evm/testutil/suite.go b/x/evm/testutil/suite.go index 13fbbbdec0..bc903597f6 100644 --- a/x/evm/testutil/suite.go +++ b/x/evm/testutil/suite.go @@ -319,7 +319,10 @@ func (suite *TestSuite) MustTransferERC20Token(t require.TestingT, contractAddr, return ercTransferTx } -func (suite *TestSuite) TransferERC20Token(contractAddr, from, to common.Address, amount *big.Int) (*types.MsgEthereumTx, *types.MsgEthereumTxResponse, error) { +func (suite *TestSuite) TransferERC20Token( + contractAddr, from, to common.Address, + amount *big.Int, +) (*types.MsgEthereumTx, *types.MsgEthereumTxResponse, error) { ctx := sdk.WrapSDKContext(suite.Ctx) chainID := suite.App.EvmKeeper.ChainID()