fix: ensure STX status updates across all networks#511
Closed
httpJunkie wants to merge 1 commit intomainfrom
Closed
fix: ensure STX status updates across all networks#511httpJunkie wants to merge 1 commit intomainfrom
httpJunkie wants to merge 1 commit intomainfrom
Conversation
- STX status wasn't being updated when users switched networks because we were using the transaction's chainId instead of the storage key chainId. This caused pending transactions to remain stuck until users switched back to the original network. This fix ensures that smart transaction statuses are properly updated regardless of which network the user is currently on.
Contributor
Author
|
The issue this fix was for seems to not be an issue anymore. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for reviewing! Here's what you need to know about these changes:
Current State and Need for Change:
Solution:
updateSmartTransactionsto consistently use the storage key's chainId instead of the transaction's chainIdRelated Issues:
The changes are minimal but resolve a significant UX pain point where users were forced to switch back to original networks to see transaction status updates.