mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
cmd/geth: use plain keystore for JS tests
This reduces the time it takes to run the tests back to 3 seconds.
This commit is contained in:
parent
060a07cf69
commit
559cc02313
@ -68,7 +68,7 @@ func testJEthRE(t *testing.T) (string, *testjethre, *eth.Ethereum) {
|
||||
// set up mock genesis with balance on the testAddress
|
||||
core.GenesisData = []byte(testGenesis)
|
||||
|
||||
ks := crypto.NewKeyStorePassphrase(filepath.Join(tmp, "keystore"))
|
||||
ks := crypto.NewKeyStorePlain(filepath.Join(tmp, "keystore"))
|
||||
am := accounts.NewManager(ks)
|
||||
ethereum, err := eth.New(ð.Config{
|
||||
DataDir: tmp,
|
||||
|
Loading…
Reference in New Issue
Block a user