diff options
author | bojie <bojie@dexon.org> | 2019-03-11 17:43:52 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:57 +0800 |
commit | 7e6fbc77b8be3f2f0cc52f410b071a1e1fd28641 (patch) | |
tree | 8179e10b03d3b8638868ab75ea67fc4c517ca42b /core/blockchain_test.go | |
parent | 22325afbf6dfd179f074018fab4866a0c56a3e6a (diff) | |
download | dexon-7e6fbc77b8be3f2f0cc52f410b071a1e1fd28641.tar.gz dexon-7e6fbc77b8be3f2f0cc52f410b071a1e1fd28641.tar.zst dexon-7e6fbc77b8be3f2f0cc52f410b071a1e1fd28641.zip |
app: new app test flow (#244)
Diffstat (limited to 'core/blockchain_test.go')
-rw-r--r-- | core/blockchain_test.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/blockchain_test.go b/core/blockchain_test.go index f972eb0b2..f8956da46 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -654,9 +654,6 @@ func TestFastVsFullChains(t *testing.T) { // Fast import the chain as a non-archive node to test fastDb := ethdb.NewMemDatabase() gspec.MustCommit(fastDb) - if err := rawdb.WriteLastRoundNumber(fastDb, 0); err != nil { - t.Fatalf("failed to write last round: %v", err) - } fast, _ := NewBlockChain(fastDb, nil, gspec.Config, ethash.NewFaker(), vm.Config{}, nil) defer fast.Stop() @@ -748,9 +745,6 @@ func TestLightVsFastVsFullChainHeads(t *testing.T) { // Import the chain as a non-archive node and ensure all pointers are updated fastDb := ethdb.NewMemDatabase() gspec.MustCommit(fastDb) - if err := rawdb.WriteLastRoundNumber(fastDb, 0); err != nil { - t.Fatalf("failed to write last round: %v", err) - } fast, _ := NewBlockChain(fastDb, nil, gspec.Config, ethash.NewFaker(), vm.Config{}, nil) defer fast.Stop() |