-
Notifications
You must be signed in to change notification settings - Fork 8
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
Base Token Bridge #1
base: master
Are you sure you want to change the base?
Conversation
/// @param _extraData Extra data to be sent with the transaction. Note that the recipient will | ||
/// not be triggered with this data, but it will be emitted and can be used | ||
/// to identify the transaction. | ||
function bridgeERC20( |
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.
I see we define different interfaces on the dai bridge, for example - https://github.com/makerdao/optimism-dai-bridge/blob/master/contracts/l1/L1DAITokenBridge.sol#L102
This was a design decision right?
The standard bridge interface was as it is now at the time?
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 the new interface. The dai bridge was using the old interface, pre-bedrock. We might need to also support the old interface as the standard bridge does, but not 100% sure yet, so for now I've only included the methods for the new interface.
Co-authored-by: sunbreak1211 <[email protected]>
Co-authored-by: sunbreak1211 <[email protected]>
Co-authored-by: sunbreak1211 <[email protected]>
Co-authored-by: sunbreak1211 <[email protected]>
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.
Assuming the old interface won't be needed, this looks good to me.
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, also assuming we decide not support the old interface.
Co-authored-by: telome <>
* Add Cantina Report * Rename Cantina report --------- Co-authored-by: telome <>
Co-authored-by: telome <>
* Make bridges upgradable * Fix spacing * Add missing internal calls * Address review comments * Fix alignment * Import only necessary types * Remove extra space --------- Co-authored-by: telome <>
Co-authored-by: telome <>
* Add Certora specs * Add spec for L2GovernanceRelay.relay * Minor changes * Use no optimization for mocks and aux * use mathint * Minor change * More rules * Fix typo * Fix typo * Improve PATH compatibility
No description provided.