-
Notifications
You must be signed in to change notification settings - Fork 5k
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: issue with default nonce value being wrong when switching networks between transactions #27297
Conversation
…s between transactions
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [3a522b7]
Page Load Metrics (2208 ± 324 ms)
Bundle size diffs
|
Build from #27297 (comment)
lineaSepolia.mov |
@@ -155,6 +157,8 @@ const Footer = () => { | |||
dispatch( | |||
rejectPendingApproval(currentConfirmation.id, serializeError(error)), | |||
); | |||
dispatch(updateCustomNonce('')); | |||
dispatch(setNextNonce('')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed now and not introduced by this PR, but perhaps a future refactor could be to remove the nonce from Redux completely and instead just store the custom nonce directly in the TransactionMeta
, or let the TransactionController
derive it if not specified.
Quality Gate failedFailed conditions |
Builds ready [8aa0342]
Page Load Metrics (1933 ± 123 ms)
Bundle size diffs
|
Builds ready [622bd6f]
Page Load Metrics (2221 ± 216 ms)
Bundle size diffs
|
Fixed: nonce.mov |
Description
When submitting transactions the transaction after network switch takes custom nonce of previous network.
Related issues
Fixes: #26979
Manual testing steps
Screenshots/Recordings
TODO
Pre-merge author checklist
Pre-merge reviewer checklist