Unverified Commit 6a575eda authored by rjl493456442's avatar rjl493456442 Committed by GitHub

eth/tracer: fix broken test (#25715)

parent b1f6dccf
...@@ -638,11 +638,14 @@ func newStates(keys []common.Hash, vals []common.Hash) *map[common.Hash]common.H ...@@ -638,11 +638,14 @@ func newStates(keys []common.Hash, vals []common.Hash) *map[common.Hash]common.H
func TestTraceChain(t *testing.T) { func TestTraceChain(t *testing.T) {
// Initialize test accounts // Initialize test accounts
accounts := newAccounts(3) accounts := newAccounts(3)
genesis := &core.Genesis{Alloc: core.GenesisAlloc{ genesis := &core.Genesis{
accounts[0].addr: {Balance: big.NewInt(params.Ether)}, Config: params.TestChainConfig,
accounts[1].addr: {Balance: big.NewInt(params.Ether)}, Alloc: core.GenesisAlloc{
accounts[2].addr: {Balance: big.NewInt(params.Ether)}, accounts[0].addr: {Balance: big.NewInt(params.Ether)},
}} accounts[1].addr: {Balance: big.NewInt(params.Ether)},
accounts[2].addr: {Balance: big.NewInt(params.Ether)},
},
}
genBlocks := 50 genBlocks := 50
signer := types.HomesteadSigner{} signer := types.HomesteadSigner{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment