mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
tests: fixup
This commit is contained in:
parent
cd9ae930b6
commit
b84b9211b7
1 changed files with 2 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ func (t *BlockTest) Run(snapshotter bool, scheme string, witness bool, tracer *t
|
||||||
// Wrap the original engine within the beacon-engine
|
// Wrap the original engine within the beacon-engine
|
||||||
engine := beacon.New(ethash.NewFaker())
|
engine := beacon.New(ethash.NewFaker())
|
||||||
|
|
||||||
options := &core.BlockchainOptions{
|
options := &core.BlockChainOptions{
|
||||||
TrieCleanLimit: 0,
|
TrieCleanLimit: 0,
|
||||||
StateScheme: scheme,
|
StateScheme: scheme,
|
||||||
Preimages: true,
|
Preimages: true,
|
||||||
|
|
@ -164,7 +164,7 @@ func (t *BlockTest) Run(snapshotter bool, scheme string, witness bool, tracer *t
|
||||||
options.SnapshotLimit = 1
|
options.SnapshotLimit = 1
|
||||||
options.SnapshotWait = true
|
options.SnapshotWait = true
|
||||||
}
|
}
|
||||||
chain, err := core.NewBlockChain(options, db, gspec, engine)
|
chain, err := core.NewBlockChain(db, gspec, engine, options)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue