Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/ethapi: fix recover sender of pending transaction #23765

Merged
merged 2 commits into from
Oct 18, 2021

Conversation

MariusVanDerWijden
Copy link
Member

Fixes an issue where during sender recovery of pending transactions we always used 0 as the blocknumber, resulting in MakeSigner creating a homestead signer which is not able to recover new transaction types

fixes #23762
and #23763

Copy link
Contributor

@s1na s1na left a comment

Choose a reason for hiding this comment

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

Ah I had missed that. LGTM and thanks for fixing it

internal/ethapi/api.go Outdated Show resolved Hide resolved
Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

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

LGTM

@holiman holiman added this to the 1.10.11 milestone Oct 18, 2021
@holiman holiman merged commit 433f091 into ethereum:master Oct 18, 2021
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Oct 20, 2021
…23765)

* internal/ethapi: fix recover sender of pending transaction

* internal/ethapi: check if current exists
@MariusVanDerWijden MariusVanDerWijden deleted the pending-recover-fix branch November 30, 2021 15:28
yongjun925 pushed a commit to DODOEX/go-ethereum that referenced this pull request Dec 3, 2022
…23765)

* internal/ethapi: fix recover sender of pending transaction

* internal/ethapi: check if current exists
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.

eth_getTransactionByHash return 0x0 sender value for pending EIP-1559 tx
3 participants