From fe8749f0e3c52e0cdc54df8ef578f0d5bd33dd2c Mon Sep 17 00:00:00 2001 From: Ethan Date: Mon, 8 Jan 2024 13:27:05 +0800 Subject: [PATCH] feat: add comment for governorProtector (#460) * feat: add comment for governorProtector * feat: add comment for assetProtector --- contracts/BC_fusion/BSCGovernor.sol | 4 +++- contracts/BC_fusion/StakeHub.sol | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/contracts/BC_fusion/BSCGovernor.sol b/contracts/BC_fusion/BSCGovernor.sol index d9c5953a..5612d183 100644 --- a/contracts/BC_fusion/BSCGovernor.sol +++ b/contracts/BC_fusion/BSCGovernor.sol @@ -88,7 +88,9 @@ contract BSCGovernor is // BSCGovernor => Timelock => GovHub => system contracts whitelistTargets[GOV_HUB_ADDR] = true; - governorProtector = address(0xdEaD); // TODO + // TODO + // Different address will be set depending on the environment + governorProtector = address(0xdEaD); } /*----------------- onlyGovernorProtector -----------------*/ diff --git a/contracts/BC_fusion/StakeHub.sol b/contracts/BC_fusion/StakeHub.sol index ce6607e3..082aebb6 100644 --- a/contracts/BC_fusion/StakeHub.sol +++ b/contracts/BC_fusion/StakeHub.sol @@ -280,7 +280,9 @@ contract StakeHub is System, Initializable { _legacyVoteAddress[bcVoteAddress[i]] = true; } - assetProtector = DEAD_ADDRESS; // TODO + // TODO + // Different address will be set depending on the environment + assetProtector = DEAD_ADDRESS; } /*----------------- Implement cross chain app -----------------*/