From 65bd5f901cdec7a2453c3048d45b9cf9ddd38205 Mon Sep 17 00:00:00 2001 From: jiangzehua <1092431698@qq.com> Date: Thu, 26 Oct 2023 15:51:19 +0800 Subject: [PATCH] feat(bpos): set default value of ChangeVoteTargetStartHeight for testnet --- common/config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/config/config.go b/common/config/config.go index fce272a4b..65250d383 100644 --- a/common/config/config.go +++ b/common/config/config.go @@ -390,9 +390,9 @@ func (p *Configuration) TestNet() *Configuration { p.DPoSConfiguration.NFTStartHeight = 1098000 p.DPoSConfiguration.NFTV2StartHeight = 1171000 p.DPoSConfiguration.DexStartHeight = 1171000 - p.DPoSConfiguration.ChangeVoteTargetStartHeight = math.MaxUint32 // todo complete me - p.DPoSConfiguration.RenewalVotingTargetDuration = 14 * 720 // todo complete me - p.DPoSConfiguration.MinRenewalVotingTargetLockTime = 720 // todo complete me + p.DPoSConfiguration.ChangeVoteTargetStartHeight = 1252600 + p.DPoSConfiguration.RenewalVotingTargetDuration = 14 * 720 + p.DPoSConfiguration.MinRenewalVotingTargetLockTime = 720 p.HttpInfoPort = 21333 p.HttpRestPort = 21334