@@ -24,7 +24,6 @@ import (
2424 "github.com/stretchr/testify/assert"
2525 "github.com/stretchr/testify/require"
2626
27- "github.com/ava-labs/avalanchego/api/keystore"
2827 "github.com/ava-labs/avalanchego/chains/atomic"
2928 "github.com/ava-labs/avalanchego/database"
3029 "github.com/ava-labs/avalanchego/database/memdb"
@@ -36,7 +35,6 @@ import (
3635 "github.com/ava-labs/avalanchego/snow/engine/enginetest"
3736 "github.com/ava-labs/avalanchego/upgrade"
3837 "github.com/ava-labs/avalanchego/utils/formatting"
39- "github.com/ava-labs/avalanchego/utils/logging"
4038 "github.com/ava-labs/avalanchego/vms/components/chain"
4139
4240 accountKeystore "github.com/ava-labs/subnet-evm/accounts/keystore"
6866 testMinGasPrice int64 = 225_000_000_000
6967 testKeys []* ecdsa.PrivateKey
7068 testEthAddrs []common.Address // testEthAddrs[i] corresponds to testKeys[i]
71- username = "Johns"
72- password = "CjasdjhiPeirbSenfeI13" // #nosec G101
7369
7470 firstTxAmount = new (big.Int ).Mul (big .NewInt (testMinGasPrice ), big .NewInt (21000 * 100 ))
7571 genesisBalance = new (big.Int ).Mul (big .NewInt (testMinGasPrice ), big .NewInt (21000 * 1000 ))
@@ -160,12 +156,6 @@ func setupGenesis(
160156 // The caller of this function is responsible for unlocking.
161157 ctx .Lock .Lock ()
162158
163- userKeystore := keystore .New (logging.NoLog {}, memdb .New ())
164- if err := userKeystore .CreateUser (username , password ); err != nil {
165- t .Fatal (err )
166- }
167- ctx .Keystore = userKeystore .NewBlockchainKeyStore (ctx .ChainID )
168-
169159 issuer := make (chan commonEng.Message , 1 )
170160 prefixedDB := prefixdb .New ([]byte {1 }, baseDB )
171161 return ctx , prefixedDB , genesisBytes , issuer , atomicMemory
0 commit comments