Skip to content

Commit

Permalink
Rebased on dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frozen committed Nov 27, 2024
1 parent 9b8dcd0 commit 2b55bac
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ var (
big.NewInt(0),
big.NewInt(0),
big.NewInt(0),
big.NewInt(0),
}

// TestChainConfig ...
Expand Down Expand Up @@ -426,7 +425,6 @@ var (
big.NewInt(0), // MaxRateEpoch
big.NewInt(0),
big.NewInt(0),
big.NewInt(0),
}

// TestRules ...
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 2b55bac

Please sign in to comment.