Skip to content

Commit e01d66d

Browse files
fix(erc20): rename burn test
1 parent ce19783 commit e01d66d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/integration/precompiles/erc20/test_tx.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ package erc20
33
import (
44
"math/big"
55

6-
"github.com/cosmos/evm/testutil/keyring"
7-
utiltx "github.com/cosmos/evm/testutil/tx"
86
"github.com/ethereum/go-ethereum/common"
97
"github.com/ethereum/go-ethereum/core/vm"
108
"github.com/holiman/uint256"
@@ -13,6 +11,8 @@ import (
1311
"github.com/cosmos/evm/precompiles/common/mocks"
1412
"github.com/cosmos/evm/precompiles/erc20"
1513
"github.com/cosmos/evm/precompiles/testutil"
14+
"github.com/cosmos/evm/testutil/keyring"
15+
utiltx "github.com/cosmos/evm/testutil/tx"
1616
erc20types "github.com/cosmos/evm/x/erc20/types"
1717
"github.com/cosmos/evm/x/vm/statedb"
1818
vmtypes "github.com/cosmos/evm/x/vm/types"
@@ -533,7 +533,7 @@ func (s *PrecompileTestSuite) TestBurn() {
533533
"",
534534
},
535535
{
536-
"pass - burn from address",
536+
"pass - burn tokens",
537537
s.keyring.GetKey(0),
538538
s.keyring.GetKey(1),
539539
func() (keyring.Key, keyring.Key, []interface{}) {

tests/integration/precompiles/erc20/test_utils.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ import (
77
"slices"
88
"time"
99

10-
"github.com/cosmos/cosmos-sdk/x/authz"
11-
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
12-
commonfactory "github.com/cosmos/evm/testutil/integration/base/factory"
1310
"github.com/ethereum/go-ethereum/accounts/abi"
1411
"github.com/ethereum/go-ethereum/common"
1512
"github.com/ethereum/go-ethereum/crypto"
@@ -20,6 +17,7 @@ import (
2017
"github.com/cosmos/evm/crypto/ethsecp256k1"
2118
"github.com/cosmos/evm/precompiles/erc20"
2219
"github.com/cosmos/evm/precompiles/testutil"
20+
commonfactory "github.com/cosmos/evm/testutil/integration/base/factory"
2321
"github.com/cosmos/evm/testutil/integration/evm/network"
2422
utiltx "github.com/cosmos/evm/testutil/tx"
2523
testutiltypes "github.com/cosmos/evm/testutil/types"
@@ -32,6 +30,8 @@ import (
3230

3331
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
3432
sdk "github.com/cosmos/cosmos-sdk/types"
33+
"github.com/cosmos/cosmos-sdk/x/authz"
34+
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
3535
)
3636

3737
// CallType indicates which type of contract call is made during the integration tests.

0 commit comments

Comments
 (0)