tests: fixup

This commit is contained in:
Felix Lange 2025-06-18 15:54:56 +02:00
parent cd9ae930b6
commit b84b9211b7

View file

@ -151,7 +151,7 @@ func (t *BlockTest) Run(snapshotter bool, scheme string, witness bool, tracer *t
// Wrap the original engine within the beacon-engine
engine := beacon.New(ethash.NewFaker())
options := &core.BlockchainOptions{
options := &core.BlockChainOptions{
TrieCleanLimit: 0,
StateScheme: scheme,
Preimages: true,
@ -164,7 +164,7 @@ func (t *BlockTest) Run(snapshotter bool, scheme string, witness bool, tracer *t
options.SnapshotLimit = 1
options.SnapshotWait = true
}
chain, err := core.NewBlockChain(options, db, gspec, engine)
chain, err := core.NewBlockChain(db, gspec, engine, options)
if err != nil {
return err
}