From b57ec4aa7c3a3d91991a113677c5d13766c1bb15 Mon Sep 17 00:00:00 2001 From: q Date: Sat, 24 Jan 2026 17:26:29 +0800 Subject: [PATCH] set the max capacity for limboBlob storage --- core/txpool/blobpool/limbo.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/core/txpool/blobpool/limbo.go b/core/txpool/blobpool/limbo.go index b2cbc50eb6..4f1078c394 100644 --- a/core/txpool/blobpool/limbo.go +++ b/core/txpool/blobpool/limbo.go @@ -52,15 +52,9 @@ func newLimbo(config *params.ChainConfig, datadir string) (*limbo, error) { index: make(map[common.Hash]*limboBlob), } - // The limbo won't store full blobs, just metadata, so use a fixed size 4KB is big enough. + // The limbo won't store full blobs, just store the metadata, so use a fixed size 1KB bytes is big enough. slotter := func() (size uint32, done bool) { - return 4096, true - } - - // See if we need to migrate the limbo after fusaka. - slotter, err := tryMigrate(config, slotter, datadir) - if err != nil { - return nil, err + return 1024, true } // Index all limboed blobs on disk and delete anything unprocessable