Skip to content

Conversation

@james-a-morris
Copy link
Contributor

@james-a-morris james-a-morris commented Jan 6, 2024

How we can replay failed L1 -> L2 messages.

NOTE: per the Scroll docs, we cannot replay L2 -> L1 transactions. All tokens are burned.

L1 -> L2 test transactions:

  1. Initial bridge request that fails:
    https://sepolia.etherscan.io/tx/0x7e74b85bdaca0358021f886fb4fbab3a72660843add5201e484285bde5ba9f04
  2. Visible failed transaction: https://sepolia.scrollscan.com/tx/0x1e384bb0fb42c67234163384ce21ff836e7031210642f4f3764874eb526fc89b
  3. Replay Transaction from calling this task: https://sepolia.etherscan.io/tx/0x0042f7b4792d8c08249db10c49748f29cbdd408205d3932812b44e39aa9f4e58
  4. Successful landing of funds: https://sepolia.scrollscan.com/tx/0x6cd5273c7a9b16a41eab1c6319a0f36ebf7ea8b8a81ab4be5c5c45179bb130ff

The rescue script was run with the following parameters:

yarn hardhat rescue-stuck-scroll-txn --l1-hash 0x7e74b85bdaca0358021f886fb4fbab3a72660843add5201e484285bde5ba9f04 --gas-limit 250000 --network sepolia

@linear
Copy link

linear bot commented Jan 6, 2024

@james-a-morris james-a-morris marked this pull request as ready for review January 8, 2024 02:57
Copy link
Contributor

@pxrl pxrl left a comment

Choose a reason for hiding this comment

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

A couple of comments, but LGTM

Copy link
Member

@nicholaspai nicholaspai left a comment

Choose a reason for hiding this comment

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

Signed-off-by: james-a-morris <jaamorris@cs.stonybrook.edu>
Copy link
Contributor

@mrice32 mrice32 left a comment

Choose a reason for hiding this comment

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

Looks good, just one question

@nicholaspai
Copy link
Member

#406 (comment)

Copy link
Contributor

@mrice32 mrice32 left a comment

Choose a reason for hiding this comment

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

LGTM!

@james-a-morris james-a-morris merged commit 41b2b09 into master Jan 18, 2024
@james-a-morris james-a-morris deleted the james/acx-1818-add-ability-to-rescue-scroll-funds branch January 18, 2024 21:16
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.

5 participants