Skip to content

Conversation

@MozirDmitriy
Copy link
Contributor

The TxPool.signer field was never read and each subpool (legacy/blob) maintains its own signer instance. This field remained after txpool refactoring into subpools and is dead code. Removing it reduces confusion and simplifies the constructor.

Copy link
Member

@lightclient lightclient left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like in #31202 we added ValidateTxBasics to the subpool interface and started calling the subpool-specific method instead of doing the validation in the txpool context itself. This was the original reason for adding signer to txpool in #31473.

SGTM

@rjl493456442 rjl493456442 added this to the 1.16.5 milestone Sep 30, 2025
@rjl493456442 rjl493456442 merged commit c1e9d78 into ethereum:master Sep 30, 2025
5 of 6 checks passed
Sahil-4555 pushed a commit to Sahil-4555/go-ethereum that referenced this pull request Oct 12, 2025
The TxPool.signer field was never read and each subpool (legacy/blob)
maintains its own signer instance. This field remained after txpool
refactoring into subpools and is dead code. Removing it reduces
confusion and simplifies the constructor.
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.

3 participants