From e79714dcb6f5219824638db09d33ddf654ac81f5 Mon Sep 17 00:00:00 2001 From: Roshan Date: Tue, 23 Jan 2024 10:35:17 +0800 Subject: [PATCH 1/2] chore: add annotation --- contracts/BC_fusion/StakeHub.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/BC_fusion/StakeHub.sol b/contracts/BC_fusion/StakeHub.sol index 4ca551b0..4801e94b 100644 --- a/contracts/BC_fusion/StakeHub.sol +++ b/contracts/BC_fusion/StakeHub.sol @@ -30,7 +30,7 @@ contract StakeHub is System, Initializable { uint256 public constant BREATHE_BLOCK_INTERVAL = 1 days; - //TODO + //TODO: set to the correct bytes of abi.encode({{BCExistingConsensusAddresses}}) and abi.encode({{BCExistingVoteAddresses}}) when landing on mainnet and testnet bytes private constant INIT_BC_CONSENSUS_ADDRESSES = hex"00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000"; bytes private constant INIT_BC_VOTE_ADDRESSES = From 7b2a5ef732ab6110a4d6f3b79daf7b2a83639290 Mon Sep 17 00:00:00 2001 From: Roshan Date: Tue, 23 Jan 2024 10:43:37 +0800 Subject: [PATCH 2/2] chore: add annotation --- contracts/BC_fusion/StakeHub.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/BC_fusion/StakeHub.sol b/contracts/BC_fusion/StakeHub.sol index 4801e94b..4dc6981d 100644 --- a/contracts/BC_fusion/StakeHub.sol +++ b/contracts/BC_fusion/StakeHub.sol @@ -31,6 +31,7 @@ contract StakeHub is System, Initializable { uint256 public constant BREATHE_BLOCK_INTERVAL = 1 days; //TODO: set to the correct bytes of abi.encode({{BCExistingConsensusAddresses}}) and abi.encode({{BCExistingVoteAddresses}}) when landing on mainnet and testnet + // this will be set to proper value after the first sunset hardfork on Beacon Chain bytes private constant INIT_BC_CONSENSUS_ADDRESSES = hex"00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000"; bytes private constant INIT_BC_VOTE_ADDRESSES =