-
Notifications
You must be signed in to change notification settings - Fork 7
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 v4-periphery deployment address #2
Conversation
if (NFTPositionDescriptorProxy == address(0)) { | ||
revert InvalidProxyAddress(); |
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.
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 think this is the purpose why added the error.
If you did not set the address , will get this error.
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 agree with Mist, It's fine if getAddressFromConfig
already covers it
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.
yeh it was my bad @ChefSnoopy -- the original BaseScript
validation seems to be no longer working.. i just checked today when deploying v4-core and it seems to decode both "" and "0x"
as 0x20
for empty address
which explain the changes here https://github.com/pancakeswap/pancake-v4-periphery/pull/2/files#diff-0f008501c3a9e80366f57118bc1631e5b975a40ee503a9617505689b8e9cb7d1R25
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
since https://github.com/pancakeswap/pancake-v4-periphery/pull/3 is approved, will wait for that PR to be merged and then re-deploy and update this PR |
Follow-up PR from https://github.com/pancakeswap/pancake-v4-core/pull/7
v4-periphery
onSepolia
BaseScript
for proper validationOnce its merged, will