From f8773dd63e68cfe53cdb340d20bc217f7f9af007 Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Sat, 11 Apr 2026 02:54:21 +0800 Subject: [PATCH] core/rawdb: delete bal in DeleteBlock --- core/rawdb/accessors_chain.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/rawdb/accessors_chain.go b/core/rawdb/accessors_chain.go index 0582e842c3..fcf4cf3518 100644 --- a/core/rawdb/accessors_chain.go +++ b/core/rawdb/accessors_chain.go @@ -789,6 +789,7 @@ func DeleteBlock(db ethdb.KeyValueWriter, hash common.Hash, number uint64) { DeleteReceipts(db, hash, number) DeleteHeader(db, hash, number) DeleteBody(db, hash, number) + DeleteAccessList(db, hash, number) } // DeleteBlockWithoutNumber removes all block data associated with a hash, except @@ -797,6 +798,7 @@ func DeleteBlockWithoutNumber(db ethdb.KeyValueWriter, hash common.Hash, number DeleteReceipts(db, hash, number) deleteHeaderWithoutNumber(db, hash, number) DeleteBody(db, hash, number) + DeleteAccessList(db, hash, number) } const badBlockToKeep = 10