mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
ethclient/simulated: disable log indexing to force unindexed log search
This commit is contained in:
parent
8a19582c8d
commit
3475df56c8
1 changed files with 2 additions and 0 deletions
|
|
@ -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, ðConf)
|
||||
|
|
|
|||
Loading…
Reference in a new issue