-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: add contracts for alternative gas token design #11
base: main
Are you sure you want to change the base?
Conversation
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.
Overall looks good
address _refundAddress | ||
) internal override { | ||
// if we want to pass value to L2, must call from `L1NativeTokenGateway`. | ||
if (_value > 0 && _msgSender() != nativeTokenGateway) revert ErrorNonZeroValueFromCaller(); |
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.
Will it be possible to use the batch bridge gateway with nativeTokenGateway
?
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, need to modify the L1BatchBridgeGateway
and L2BatchBridgeGateway
to support.
fyi this is already merged into #5. we can merge into |
No description provided.