diff --git a/internal/params/config.go b/internal/params/config.go index f1069f6e63..3e774c113f 100644 --- a/internal/params/config.go +++ b/internal/params/config.go @@ -374,7 +374,6 @@ var ( big.NewInt(0), big.NewInt(0), big.NewInt(0), - big.NewInt(0), } // TestChainConfig ... @@ -426,7 +425,6 @@ var ( big.NewInt(0), // MaxRateEpoch big.NewInt(0), big.NewInt(0), - big.NewInt(0), } // TestRules ... @@ -608,8 +606,6 @@ type ChainConfig struct { // vote power feature https://github.com/harmony-one/harmony/pull/4683 // if crosslink are not sent for an entire epoch signed and toSign will be 0 and 0. when that happen, next epoch there will no shard 1 validator elected in the committee. HIP32Epoch *big.Int `json:"hip32-epoch,omitempty"` - - LeaderRotationV2Epoch *big.Int `json:"leader-rotation-v2-epoch,omitempty"` } // String implements the fmt.Stringer interface. @@ -893,10 +889,6 @@ func (c *ChainConfig) IsTopMaxRate(epoch *big.Int) bool { return isForked(c.TopMaxRateEpoch, epoch) } -func (c *ChainConfig) IsLeaderRotationV2Epoch(epoch *big.Int) bool { - return isForked(c.LeaderRotationV2Epoch, epoch) -} - // During this epoch, shards 2 and 3 will start sending // their balances over to shard 0 or 1. func (c *ChainConfig) IsOneEpochBeforeHIP30(epoch *big.Int) bool {