-
Notifications
You must be signed in to change notification settings - Fork 0
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
using v5 of oz contracts #8
Conversation
3d9809e
to
4d1ac29
Compare
@@ -3,11 +3,18 @@ | |||
url = https://github.com/foundry-rs/forge-std | |||
[submodule "lib/LayerZero-v2"] | |||
path = lib/LayerZero-v2 | |||
url = https://github.com/JorgeAtPaladin/LayerZero-v2 | |||
branch = lz-upgrade | |||
url = https://github.com/dan13ram/layerzero-v2-upgradeable |
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.
Uses my fork of this repo
https://github.com/dan13ram/layerzero-v2-upgradeable
Which is one commit ahead, diff below:
JorgeAtPaladin/LayerZero-v2@lz-upgrade...dan13ram:layerzero-v2-upgradeable:main
@@ -7,10 +7,6 @@ | |||
"@layerzerolabs/lz-evm-oapp-v2": "^2.1.18", | |||
"@layerzerolabs/lz-evm-protocol-v2": "^2.1.27", | |||
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.40", | |||
"@openzeppelin/contracts": "5.0.2", |
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.
moves all openzeppelin deps to submodule
@@ -1,8 +1,8 @@ | |||
// SPDX-License-Identifier: MIT | |||
pragma solidity ^0.8.24; | |||
|
|||
import "src/external/AccessControlUpgradeable.sol"; | |||
import "src/external/ERC20Upgradeable.sol"; | |||
import {AccessControlUpgradeable} from "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; |
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.
removes the need for oz contracts inside our repo
2372c37
to
f0f2d15
Compare
f0f2d15
to
485bb97
Compare
i don't know why this is done, closing, there's no justification for this, and it's a wide scope change with no audits Furthermore i don't know how this fork is acceptable to use |
No description provided.