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

Fix app stale at sending extrinsics aka fix occasional invalid extrinsic #1665

Merged
merged 4 commits into from
Mar 20, 2024

Conversation

clangenb
Copy link
Member

@clangenb clangenb commented Mar 20, 2024

This PR implements the idea from #1659 (comment). In the signed extension, we use now the latest finalized block hash instead of the best block hash. This indeed fixes the invalid transaction if it is resubmitted from a retracted block. I did some extensive testing, namely did multiple meetups and sent arbitrary transactions, to ensure with high probability that the issue is fixed.

Closes #1659.

@clangenb clangenb added A1-bugfix PR fixes a bug B2-critical Elevates a release containing this PR to "critical priority" C0-breaksnothing PR does not introduce any breaking changes labels Mar 20, 2024
@clangenb clangenb changed the title Fix occasional invalid extrinsic Fix app stale at sending extrinsics aka fix occasional invalid extrinsic Mar 20, 2024
@clangenb clangenb merged commit 5eac022 into master Mar 20, 2024
9 of 11 checks passed
@clangenb clangenb deleted the cl/fix-stale-extrinsic branch March 20, 2024 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A1-bugfix PR fixes a bug B2-critical Elevates a release containing this PR to "critical priority" C0-breaksnothing PR does not introduce any breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

app can't send extrinsic and waits forever
1 participant