From d0efb7960cf5c3ecdd2bfe62c1a1f6e7f4f24947 Mon Sep 17 00:00:00 2001 From: Cal Bera Date: Mon, 1 May 2023 09:42:45 -0400 Subject: [PATCH] fix mempool tests --- miner/miner_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/miner/miner_test.go b/miner/miner_test.go index 29c204622511..293b783297da 100644 --- a/miner/miner_test.go +++ b/miner/miner_test.go @@ -81,6 +81,10 @@ func (bc *testBlockChain) StateAt(common.Hash) (state.StateDBI, error) { return bc.statedb, nil } +func (bc *testBlockChain) StateAtBlock(*types.Header) (state.StateDBI, error) { + return bc.statedb, nil +} + func (bc *testBlockChain) SubscribeChainHeadEvent(ch chan<- core.ChainHeadEvent) event.Subscription { return bc.chainHeadFeed.Subscribe(ch) }