Skip to content
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

Closed
wants to merge 1 commit into from
Closed

using v5 of oz contracts #8

wants to merge 1 commit into from

Conversation

dan13ram
Copy link
Collaborator

@dan13ram dan13ram commented Oct 1, 2024

No description provided.

@dan13ram dan13ram force-pushed the fix/update-openzeppelin branch from 3d9809e to 4d1ac29 Compare January 29, 2025 16:16
@@ -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
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -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",
Copy link
Collaborator Author

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";
Copy link
Collaborator Author

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

@dan13ram dan13ram force-pushed the fix/update-openzeppelin branch 3 times, most recently from 2372c37 to f0f2d15 Compare January 29, 2025 16:26
@dan13ram dan13ram force-pushed the fix/update-openzeppelin branch from f0f2d15 to 485bb97 Compare January 29, 2025 16:32
@danoctavian
Copy link

danoctavian commented Jan 31, 2025

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

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.

2 participants