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

Ensures txpool recovers sender for txes #97

Merged
merged 3 commits into from
May 22, 2024

Conversation

jyellick
Copy link

There seems to be a bug where the txpool may not appropriately set the sender address. This leads to incorrectly admitting transactions into mining blocks, as the wrong address is referenced.

This commit adds a check that if the sender address is not set, it attempts to directly recover the sender from the transaction data and set that instead.

@jyellick jyellick force-pushed the jyellick/verify-sender-recovery branch from e160ad1 to d5ad45a Compare May 17, 2024 19:52
There seems to be a bug where the txpool may not appropriately set the
sender address.  This leads to incorrectly admitting transactions into
mining blocks, as the wrong address is referenced.

This commit adds a check that if the sender address is not set, it
attempts to directly recover the sender from the transaction data and
set that instead.
@jyellick jyellick merged commit 9b33ae2 into boba-develop May 22, 2024
11 checks passed
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