go-ethereum/core/txpool/blobpool
ozpool 64822da467 core/txpool/blobpool: preserve limbo entry on update store failure
The previous limbo.update implementation deleted the existing entry from
the store and indices before re-inserting it under the new block. If the
re-insertion (setAndIndex) failed, the blob sidecar was permanently
lost: limbo is the only source of truth for the sidecar once the blob
transaction has been offloaded out of the blobpool, and EIP-4844 blob
data is not stored in chain state.

Reorder the operations so the new entry is written first. Only after the
store Put succeeds is the old entry dropped from the store and the old
group mapping cleaned up. A failure to drop the old store id now only
leaks a billy slot - the blob itself is preserved under the new id, and
a follow-up reorg-rollback can still re-inject it.

Adds a round-trip test that updates the inclusion block of a limbo'd
blob and verifies it remains pullable under the new block.

Fixes #34944
2026-05-14 11:35:36 +05:30
..
blobpool.go core/txpool/blobpool: add blobTxForPool type (#34882) 2026-05-12 13:59:33 +02:00
blobpool_test.go core/txpool/blobpool: add blobTxForPool type (#34882) 2026-05-12 13:59:33 +02:00
config.go core/txpool/blobpool: reduce default database cap for rollout (#29090) 2024-02-26 14:27:56 +02:00
evictheap.go core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
evictheap_test.go core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
interface.go cmd, core, trie, triedb: split CachingDB into merkle + binary dbs. (#34700) 2026-04-17 08:55:54 +08:00
limbo.go core/txpool/blobpool: preserve limbo entry on update store failure 2026-05-14 11:35:36 +05:30
limbo_test.go core/txpool/blobpool: preserve limbo entry on update store failure 2026-05-14 11:35:36 +05:30
lookup.go core/txpool/blobpool: remove legacy sidecar conversion (#33352) 2025-12-18 12:33:07 -07:00
metrics.go core/txpool/blobpool: fix gapped queue size cap (#34831) 2026-05-02 13:29:21 +02:00
priority.go core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
priority_test.go core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
slotter.go core/txpool/blobpool: fix slotter size limit (#33474) 2025-12-24 09:44:17 +08:00
slotter_test.go core/txpool/blobpool: migrate billy to new slot size (#31966) 2025-09-15 21:34:57 +08:00