This commit is contained in:
hero5512 2026-02-25 21:59:27 -08:00 committed by GitHub
commit bc908e91ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,6 +86,8 @@ func NewBackend(alloc types.GenesisAlloc, options ...func(nodeConf *node.Config,
}
ethConf.SyncMode = ethconfig.FullSync
ethConf.TxPool.NoLocals = true
// Disable log indexing to force unindexed log search
ethConf.LogNoHistory = true
for _, option := range options {
option(&nodeConf, &ethConf)