Skip to content

Conversation

@Vectorized
Copy link
Owner

@Vectorized Vectorized commented Dec 28, 2024

Description

♻️

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Ran forge fmt?
  • Ran forge snapshot?
  • Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

@Vectorized Vectorized requested a review from cygaar December 28, 2024 06:48
Copy link
Collaborator

@cygaar cygaar left a comment

Choose a reason for hiding this comment

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

lgtm outside of the permit2 address

/// @dev The ZKsync Permit2 deployment.
/// If deploying on ZKsync or Abstract, override `_isPermit2(address)` to check against this too.
/// [Etherscan](https://era.zksync.network/address/0x0000000000225e31D15943971F47aD3022F714Fa)
address internal constant _ZKSYNC_PERMIT_2 = 0x0000000000225e31D15943971F47aD3022F714Fa;
Copy link
Collaborator

Choose a reason for hiding this comment

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

The abstract permit2 address is actually: 0x6b4420f66De496D18A6c36367cf7f1440fd9289f

Do you need it specifically at the address above?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Oh my. fragmentation. Best to get it at the same address!

Copy link
Owner Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll try to get it deployed to the same address

/// @dev The ZKsync Permit2 deployment.
/// If deploying on ZKsync or Abstract, override `_isPermit2(address)` to check against this too.
/// [Etherscan](https://era.zksync.network/address/0x0000000000225e31D15943971F47aD3022F714Fa)
address internal constant _ZKSYNC_PERMIT_2 = 0x0000000000225e31D15943971F47aD3022F714Fa;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same comment as above

@Vectorized
Copy link
Owner Author

Much thanks @cygaar @coffeexcoin

@Vectorized Vectorized merged commit 0dbf6e0 into main Dec 30, 2024
9 checks passed
@Vectorized Vectorized deleted the zksync branch December 30, 2024 10:09
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.

3 participants