ethclient/simulated: disable log indexing to force unindexed log search

This commit is contained in:
allen 2025-09-11 21:35:14 -04:00
parent 8a19582c8d
commit 3475df56c8

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)