Skip to content

[r3.4→main] Cherry-pick PRs from release/3.4#20519

Merged
AskAlexSharov merged 10 commits intomainfrom
alex/cherry_pick_r34_to_main
Apr 14, 2026
Merged

[r3.4→main] Cherry-pick PRs from release/3.4#20519
AskAlexSharov merged 10 commits intomainfrom
alex/cherry_pick_r34_to_main

Conversation

@AskAlexSharov
Copy link
Copy Markdown
Collaborator

Summary

Cherry-pick latest 20 PRs from release/3.4 to main (15 already applied, 5 new):

AskAlexSharov and others added 5 commits April 13, 2026 18:14
- Cherry-pick of #20370

---------

Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Muzry <muzrry@gmail.com>
Co-authored-by: muzry.li <muzry.li1@ambergroup.io>
`OnNewBlock` was passing the chaindata `coreTx` into
`getCachedBlobTxnLocked`, but that function reads `kv.PoolTransaction` —
a table that lives in the txpool DB, not chaindata. MDBX therefore can't
find the table and the call fails on every blob-txn unwind path,
producing warnings like:

```
[fetch] onNewBlock err="TxPool.getCachedBlobTxnLocked: Get: 32, label: chaindata, ...
```

Fix: open a RO tx on `poolDB` and pass that into
`getCachedBlobTxnLocked`. The tx is opened before `p.lock` is acquired,
which preserves the existing RoTx→p.lock ordering documented in
`pool.go` to avoid deadlocks.
Comment thread .github/workflows/test-hive.yml Outdated
@AskAlexSharov AskAlexSharov changed the title [r3.4→main] Cherry-pick 20 PRs from release/3.4 [r3.4→main] Cherry-pick PRs from release/3.4 Apr 13, 2026
@AskAlexSharov AskAlexSharov enabled auto-merge April 13, 2026 11:28
stubExecutionServer was replaced by stubExecutionModule on main;
the cherry-picked method references a nonexistent type.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
info@weblogix.biz and others added 3 commits April 13, 2026 14:05
The cherry-picked PR #20489 added p.poolDB.BeginRo() in OnNewBlock,
but several tests pass nil for poolDB since they don't exercise blob
txn paths. Guard the BeginRo call and skip blob cache lookups when
poolDB is nil.
@AskAlexSharov AskAlexSharov added this pull request to the merge queue Apr 14, 2026
Merged via the queue into main with commit e1e5a97 Apr 14, 2026
37 checks passed
@AskAlexSharov AskAlexSharov deleted the alex/cherry_pick_r34_to_main branch April 14, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants