-
Notifications
You must be signed in to change notification settings - Fork 75
feat: Add Arbitrum_RescueAdapter helper scripts #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
Conversation
To aid with future usage of this adapter
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.
Looks good! Only one minor nit (note: since this is already deployed, we can go ahead and use the existing implementation for this operation, but I think we should update the contract in the repo with the non-deprecated method).
| bytes calldata data | ||
| ) external payable returns (uint256); | ||
|
|
||
| function createRetryableTicketNoRefundAliasRewrite( |
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.
nit: should we use unsafeCreateRetryableTicket instead (I think the signature is the same)?
According to the current Inbox implementation on mainnet, createRetryableTicketNoRefundAliasRewrite is deprecated in favor of unsafeCreateRetryableTicket.
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.
This is a great call. createRetryableTicketNoRefundAliasRewrite calls unsafeCreateRetryableTicket so I agree we don't need to change deployed version
pxrl
left a comment
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.
No comments from me 👍.
mrice32
left a comment
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.
LGTM!
To aid with future usage of this adapter