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: redeem teleport error #2321

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dewanshparashar
Copy link
Contributor

Regression of a refactor where we renamed deposit transactions' l1ToL2MsgData to parentToChildMsgData 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 use l1ToL2MsgData + 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.

@cla-bot cla-bot bot added the cla-signed label Mar 10, 2025
Copy link

vercel bot commented Mar 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
arbitrum-token-bridge ✅ Ready (Inspect) Visit Preview Mar 11, 2025 2:33pm

@@ -63,17 +63,17 @@ export const getDepositStatus = (
}

if (isTeleportTx(tx)) {
Copy link
Contributor Author

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

@dewanshparashar dewanshparashar changed the title fix: fix redeem teleport error fix: redeem teleport error Mar 10, 2025
douglance
douglance previously approved these changes Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants