diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-11-15 20:42:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 20:42:19 +0800 |
commit | 17d67c5834679f2b27ef08eddfce3b3a154a96a8 (patch) | |
tree | 3989575655db27f02641bf1fc7d96f87a9441ebb /tests | |
parent | 14346e4ef97ca812fb9f1d5d2cd87021c0155cf6 (diff) | |
parent | 434dd5bc0067cdf604d84426df9086015721dd36 (diff) | |
download | dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.gz dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.bz2 dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.lz dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.xz dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.tar.zst dexon-17d67c5834679f2b27ef08eddfce3b3a154a96a8.zip |
Merge pull request #18087 from karalabe/trie-read-cacher
cmd, core, eth, light, trie: add trie read caching layer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/block_test_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 12cba3244..9fa69bf4e 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -118,7 +118,7 @@ func (t *BlockTest) Run() error { } else { engine = ethash.NewShared() } - chain, err := core.NewBlockChain(db, nil, config, engine, vm.Config{}, nil) + chain, err := core.NewBlockChain(db, &core.CacheConfig{TrieCleanLimit: 0}, config, engine, vm.Config{}, nil) if err != nil { return err } |