index
:
coreth
Avalanche C-Chain service code.
log msg
author
committer
range
dev
devnet-no-plugin
ecstasy-fixes
ecstasy-transfer
geth-tavum
master
multi-coin
about
summary
refs
log
tree
commit
diff
path:
root
/
plugin
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'plugin')
-rw-r--r--
plugin/evm/vm.go
4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index 993727e..55411cf 100644
--- a/
plugin/evm/vm.go
+++ b/
plugin/evm/vm.go
@@ -243,6 +243,10 @@ func (vm *VM) Initialize(
config := eth.DefaultConfig
config.ManualCanonical = true
config.Genesis = g
+ // disable the experimental snapshot feature from geth
+ config.TrieCleanCache += config.SnapshotCache
+ config.SnapshotCache = 0
+
config.Miner.ManualMining = true
config.Miner.DisableUncle = true