mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-05 15:52:55 +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.SyncMode = ethconfig.FullSync
|
||||||
ethConf.TxPool.NoLocals = true
|
ethConf.TxPool.NoLocals = true
|
||||||
|
// Disable log indexing to force unindexed log search
|
||||||
|
ethConf.LogNoHistory = true
|
||||||
|
|
||||||
for _, option := range options {
|
for _, option := range options {
|
||||||
option(&nodeConf, ðConf)
|
option(&nodeConf, ðConf)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue