cmd/geth, common/natspec: updating tests (still failing?)
This commit is contained in:
parent
36c0db2ac9
commit
9b27fb91c0
@ -68,7 +68,7 @@ func testJEthRE(t *testing.T) (string, *testjethre, *eth.Ethereum) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// set up mock genesis with balance on the testAddress
|
// set up mock genesis with balance on the testAddress
|
||||||
core.GenesisData = []byte(testGenesis)
|
core.GenesisAccounts = []byte(testGenesis)
|
||||||
|
|
||||||
ks := crypto.NewKeyStorePlain(filepath.Join(tmp, "keystore"))
|
ks := crypto.NewKeyStorePlain(filepath.Join(tmp, "keystore"))
|
||||||
am := accounts.NewManager(ks)
|
am := accounts.NewManager(ks)
|
||||||
|
@ -119,7 +119,7 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) {
|
|||||||
testAddress := strings.TrimPrefix(testAccount.Address.Hex(), "0x")
|
testAddress := strings.TrimPrefix(testAccount.Address.Hex(), "0x")
|
||||||
|
|
||||||
// set up mock genesis with balance on the testAddress
|
// set up mock genesis with balance on the testAddress
|
||||||
core.GenesisData = []byte(`{
|
core.GenesisAccounts = []byte(`{
|
||||||
"` + testAddress + `": {"balance": "` + testBalance + `"}
|
"` + testAddress + `": {"balance": "` + testBalance + `"}
|
||||||
}`)
|
}`)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user