-
Notifications
You must be signed in to change notification settings - Fork 213
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: redeem teleport error #2321
Open
dewanshparashar
wants to merge
8
commits into
master
Choose a base branch
from
fs-1181/redeem-teleport-fix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+17
−9
Conversation
This file contains 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
dewanshparashar
commented
Mar 10, 2025
@@ -63,17 +63,17 @@ export const getDepositStatus = ( | |||
} | |||
|
|||
if (isTeleportTx(tx)) { |
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.
Only in the case of Teleport txns, we access l1ToL2MsgData
douglance
previously approved these changes
Mar 10, 2025
chrstph-dvx
reviewed
Mar 10, 2025
chrstph-dvx
approved these changes
Mar 10, 2025
douglance
approved these changes
Mar 11, 2025
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.
Regression of a refactor where we renamed deposit transactions'
l1ToL2MsgData
toparentToChildMsgData
in all deposit transactions, however, we rolled it back partially for Teleport cases since they have 2 legs and L1, L2, L3 terminologies still make sense in them.So the logic is - use
parentToChildMsgData
for normal deposits, and usel1ToL2MsgData + l2ToL3MsgData
for teleport txns.During a failed teleport redemption flow, there was a mixup and we not correctly populating
l1ToL2MsgData
hence the failure to find the retryable-ticket-id. This PR fixes that.