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(wallet): base wallet will now immediately throw if tx is outside validity interval [LW-12315] #1606

Merged

Conversation

AngelCastilloB
Copy link
Member

Context

Transaction can get stuck as 'inFlight' if they are rejected due to invalidHereAfter, this change will make it so the base wallet now throws before ever queuing the transaction.

Proposed Solution

  • BaseWallet throws before ever queuing the transaction if the transaction is already expired.

Copy link
Member

@mkazlauskas mkazlauskas left a comment

Choose a reason for hiding this comment

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

Nice work!

Copy link
Member

@rhyslbw rhyslbw left a comment

Choose a reason for hiding this comment

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

Nice work @AngelCastilloB 👏

@rhyslbw rhyslbw merged commit 62010d2 into master Feb 28, 2025
9 of 10 checks passed
@rhyslbw rhyslbw deleted the fix/base-wallet-now-rejects-txs-outside-validity-interval branch February 28, 2025 12:49
@rhyslbw rhyslbw changed the title fix(wallet): base wallet will now immediately throw if tx is outside validity interval fix(wallet): base wallet will now immediately throw if tx is outside validity interval LW-12315 Feb 28, 2025
@rhyslbw rhyslbw changed the title fix(wallet): base wallet will now immediately throw if tx is outside validity interval LW-12315 fix(wallet): base wallet will now immediately throw if tx is outside validity interval [LW-12315] Feb 28, 2025
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