From de0532d7e0f16bc93ecd4c8d0ecfa01208dd1ae4 Mon Sep 17 00:00:00 2001 From: cam-schultz Date: Wed, 11 Dec 2024 17:28:53 -0600 Subject: [PATCH] relax oz validation checks --- contracts/validator-manager/ERC20TokenStakingManager.sol | 1 + contracts/validator-manager/NativeTokenStakingManager.sol | 1 + contracts/validator-manager/PoAValidatorManager.sol | 1 + 3 files changed, 3 insertions(+) diff --git a/contracts/validator-manager/ERC20TokenStakingManager.sol b/contracts/validator-manager/ERC20TokenStakingManager.sol index e0cea5923..397286bf3 100644 --- a/contracts/validator-manager/ERC20TokenStakingManager.sol +++ b/contracts/validator-manager/ERC20TokenStakingManager.sol @@ -20,6 +20,7 @@ import {SafeERC20} from "@openzeppelin/contracts@5.0.2/token/ERC20/utils/SafeERC * @dev Implementation of the {IERC20TokenStakingManager} interface. * * @custom:security-contact https://github.com/ava-labs/icm-contracts/blob/main/SECURITY.md + * @custom:oz-upgrades-unsafe-allow constructor external-library-linking */ contract ERC20TokenStakingManager is Initializable, diff --git a/contracts/validator-manager/NativeTokenStakingManager.sol b/contracts/validator-manager/NativeTokenStakingManager.sol index facf37a56..cb1528307 100644 --- a/contracts/validator-manager/NativeTokenStakingManager.sol +++ b/contracts/validator-manager/NativeTokenStakingManager.sol @@ -20,6 +20,7 @@ import {Initializable} from * @dev Implementation of the {INativeTokenStakingManager} interface. * * @custom:security-contact https://github.com/ava-labs/icm-contracts/blob/main/SECURITY.md + * @custom:oz-upgrades-unsafe-allow constructor external-library-linking */ contract NativeTokenStakingManager is Initializable, diff --git a/contracts/validator-manager/PoAValidatorManager.sol b/contracts/validator-manager/PoAValidatorManager.sol index b62a30557..3510a723b 100644 --- a/contracts/validator-manager/PoAValidatorManager.sol +++ b/contracts/validator-manager/PoAValidatorManager.sol @@ -19,6 +19,7 @@ import {OwnableUpgradeable} from * @dev Implementation of the {IPoAValidatorManager} interface. * * @custom:security-contact https://github.com/ava-labs/icm-contracts/blob/main/SECURITY.md + * @custom:oz-upgrades-unsafe-allow constructor external-library-linking */ contract PoAValidatorManager is IPoAValidatorManager, ValidatorManager, OwnableUpgradeable { constructor(ICMInitializable init) {