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

Bug/is 869 transaction duplicates #1718

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

dimalit
Copy link
Contributor

@dimalit dimalit commented Nov 6, 2023

Historic node needs to ignore invalid transactions when asked through JSON-RPC. It checks if transaction is invalid by looking for gasUsed=0 in it's receipt. But in the case, if invalid transaction was resubmitted and become valid in another block - it starts to appear as "valid" for historic node. To fix this, we compare transaction's block in it's receipt with original block number, If they are different - then transaction should be considered invalid still.

Tested by Sasha1 on QA network.

@DmytroNazarenko DmytroNazarenko merged commit 73d0787 into develop Nov 6, 2023
7 checks passed
@DmytroNazarenko DmytroNazarenko deleted the bug/IS-869-transaction-duplicates branch November 6, 2023 18:20
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants