From c7456706c782e38dd4285de494a2b93cc0885db8 Mon Sep 17 00:00:00 2001 From: Ethan Date: Mon, 8 Jan 2024 12:01:37 +0800 Subject: [PATCH 1/2] feat: add comment for governorProtector --- contracts/BC_fusion/BSCGovernor.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -----------------*/ From a252ddd44c2b9025687c7b5ec465a74808d0396a Mon Sep 17 00:00:00 2001 From: Ethan Date: Mon, 8 Jan 2024 13:25:53 +0800 Subject: [PATCH 2/2] feat: add comment for assetProtector --- contracts/BC_fusion/StakeHub.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -----------------*/