From b84b9211b72f0c740242d1b3ac24e4bf0b58eb51 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 18 Jun 2025 15:54:56 +0200 Subject: [PATCH] tests: fixup --- tests/block_test_util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 7cc474c258..ee5b4ba3df 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -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 }