Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove unused (and kind of redundant) REGISTRATION_WARM_UP_PERIOD #88

Merged
merged 2 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions script/DeploySepolia.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ contract DeploySepoliaScript is Script, Deployers, MockStakingV1Deployer {
uint128 private constant REGISTRATION_FEE = 100e18;
uint128 private constant REGISTRATION_THRESHOLD_FACTOR = 0.001e18;
uint128 private constant UNREGISTRATION_THRESHOLD_FACTOR = 3e18;
uint16 private constant REGISTRATION_WARM_UP_PERIOD = 4;
uint16 private constant UNREGISTRATION_AFTER_EPOCHS = 4;
uint128 private constant VOTING_THRESHOLD_FACTOR = 0.03e18;
uint88 private constant MIN_CLAIM = 500e18;
Expand Down Expand Up @@ -87,7 +86,6 @@ contract DeploySepoliaScript is Script, Deployers, MockStakingV1Deployer {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down
12 changes: 5 additions & 7 deletions src/Governance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, Ownable, IG
/// @inheritdoc IGovernance
uint256 public immutable UNREGISTRATION_THRESHOLD_FACTOR;
/// @inheritdoc IGovernance
uint256 public immutable REGISTRATION_WARM_UP_PERIOD;
/// @inheritdoc IGovernance
uint256 public immutable UNREGISTRATION_AFTER_EPOCHS;
/// @inheritdoc IGovernance
uint256 public immutable VOTING_THRESHOLD_FACTOR;
Expand Down Expand Up @@ -102,8 +100,6 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, Ownable, IG
// Unregistration must be X times above the `votingThreshold`
require(_config.unregistrationThresholdFactor > WAD, "Gov: unregistration-config");
UNREGISTRATION_THRESHOLD_FACTOR = _config.unregistrationThresholdFactor;

REGISTRATION_WARM_UP_PERIOD = _config.registrationWarmUpPeriod;
UNREGISTRATION_AFTER_EPOCHS = _config.unregistrationAfterEpochs;

// Voting threshold must be below 100% of votes
Expand Down Expand Up @@ -478,8 +474,10 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, Ownable, IG
/// By definition it has zero rewards
}

uint16 currentEpoch = epoch();

// == Just Registered Condition == //
if (registeredInitiatives[_initiative] == epoch()) {
if (registeredInitiatives[_initiative] == currentEpoch) {
return (InitiativeStatus.WARM_UP, 0, 0);
/// Was registered this week, cannot have rewards
}
Expand All @@ -494,7 +492,7 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, Ownable, IG
}

// == Already Claimed Condition == //
if (lastEpochClaim >= epoch() - 1) {
if (lastEpochClaim >= currentEpoch - 1) {
// early return, we have already claimed
return (InitiativeStatus.CLAIMED, lastEpochClaim, claimableAmount);
}
Expand Down Expand Up @@ -532,7 +530,7 @@ contract Governance is Multicall, UserProxyFactory, ReentrancyGuard, Ownable, IG
// == Unregister Condition == //
// e.g. if `UNREGISTRATION_AFTER_EPOCHS` is 4, the 4th epoch flip that would result in SKIP, will result in the initiative being `UNREGISTERABLE`
if (
(_initiativeState.lastEpochClaim + UNREGISTRATION_AFTER_EPOCHS < epoch() - 1)
(_initiativeState.lastEpochClaim + UNREGISTRATION_AFTER_EPOCHS < currentEpoch - 1)
|| upscaledInitiativeVetos > upscaledInitiativeVotes
&& upscaledInitiativeVetos > votingTheshold * UNREGISTRATION_THRESHOLD_FACTOR / WAD
) {
Expand Down
4 changes: 0 additions & 4 deletions src/interfaces/IGovernance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ interface IGovernance {
uint128 registrationFee;
uint128 registrationThresholdFactor;
uint128 unregistrationThresholdFactor;
uint16 registrationWarmUpPeriod;
uint16 unregistrationAfterEpochs;
uint128 votingThresholdFactor;
uint88 minClaim;
Expand Down Expand Up @@ -71,9 +70,6 @@ interface IGovernance {
/// @notice Multiple of the voting threshold in vetos that are necessary to unregister an initiative
/// @return unregistrationThresholdFactor Unregistration threshold factor
function UNREGISTRATION_THRESHOLD_FACTOR() external view returns (uint256 unregistrationThresholdFactor);
/// @notice Number of epochs an initiative has to exist before it can be unregistered
/// @return registrationWarmUpPeriod Number of epochs
function REGISTRATION_WARM_UP_PERIOD() external view returns (uint256 registrationWarmUpPeriod);
/// @notice Number of epochs an initiative has to be inactive before it can be unregistered
/// @return unregistrationAfterEpochs Number of epochs
function UNREGISTRATION_AFTER_EPOCHS() external view returns (uint256 unregistrationAfterEpochs);
Expand Down
2 changes: 0 additions & 2 deletions test/BribeInitiative.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ contract BribeInitiativeTest is Test, MockStakingV1Deployer {
uint128 private constant REGISTRATION_FEE = 1e18;
uint128 private constant REGISTRATION_THRESHOLD_FACTOR = 0.01e18;
uint128 private constant UNREGISTRATION_THRESHOLD_FACTOR = 4e18;
uint16 private constant REGISTRATION_WARM_UP_PERIOD = 4;
uint16 private constant UNREGISTRATION_AFTER_EPOCHS = 4;
uint128 private constant VOTING_THRESHOLD_FACTOR = 0.04e18;
uint88 private constant MIN_CLAIM = 500e18;
Expand All @@ -51,7 +50,6 @@ contract BribeInitiativeTest is Test, MockStakingV1Deployer {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down
2 changes: 0 additions & 2 deletions test/CurveV2GaugeRewards.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ contract ForkedCurveV2GaugeRewardsTest is Test {
uint128 private constant REGISTRATION_FEE = 1e18;
uint128 private constant REGISTRATION_THRESHOLD_FACTOR = 0.01e18;
uint128 private constant UNREGISTRATION_THRESHOLD_FACTOR = 4e18;
uint16 private constant REGISTRATION_WARM_UP_PERIOD = 4;
uint16 private constant UNREGISTRATION_AFTER_EPOCHS = 4;
uint128 private constant VOTING_THRESHOLD_FACTOR = 0.04e18;
uint88 private constant MIN_CLAIM = 500e18;
Expand Down Expand Up @@ -81,7 +80,6 @@ contract ForkedCurveV2GaugeRewardsTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down
2 changes: 0 additions & 2 deletions test/E2E.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ contract ForkedE2ETests is Test {
uint128 private constant REGISTRATION_FEE = 1e18;
uint128 private constant REGISTRATION_THRESHOLD_FACTOR = 0.01e18;
uint128 private constant UNREGISTRATION_THRESHOLD_FACTOR = 4e18;
uint16 private constant REGISTRATION_WARM_UP_PERIOD = 4;
uint16 private constant UNREGISTRATION_AFTER_EPOCHS = 4;
uint128 private constant VOTING_THRESHOLD_FACTOR = 0.04e18;
uint88 private constant MIN_CLAIM = 500e18;
Expand All @@ -44,7 +43,6 @@ contract ForkedE2ETests is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down
17 changes: 0 additions & 17 deletions test/Governance.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ abstract contract GovernanceTest is Test {
uint128 private constant REGISTRATION_FEE = 1e18;
uint128 private constant REGISTRATION_THRESHOLD_FACTOR = 0.01e18;
uint128 private constant UNREGISTRATION_THRESHOLD_FACTOR = 4e18;
uint16 private constant REGISTRATION_WARM_UP_PERIOD = 4;
uint16 private constant UNREGISTRATION_AFTER_EPOCHS = 4;
uint128 private constant VOTING_THRESHOLD_FACTOR = 0.04e18;
uint88 private constant MIN_CLAIM = 500e18;
Expand All @@ -89,7 +88,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -368,7 +366,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -411,7 +408,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: 10e18,
Expand Down Expand Up @@ -460,7 +456,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: _votingThresholdFactor,
minClaim: _minClaim,
Expand Down Expand Up @@ -1680,7 +1675,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -1810,7 +1804,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -1900,7 +1893,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -1961,7 +1953,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -2011,7 +2002,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -2064,7 +2054,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -2115,7 +2104,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -2172,7 +2160,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -2248,7 +2235,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -2321,7 +2307,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -2384,7 +2369,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down Expand Up @@ -2432,7 +2416,6 @@ abstract contract GovernanceTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down
2 changes: 0 additions & 2 deletions test/GovernanceAttacks.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ abstract contract GovernanceAttacksTest is Test {
uint128 private constant REGISTRATION_FEE = 1e18;
uint128 private constant REGISTRATION_THRESHOLD_FACTOR = 0.01e18;
uint128 private constant UNREGISTRATION_THRESHOLD_FACTOR = 4e18;
uint16 private constant REGISTRATION_WARM_UP_PERIOD = 4;
uint16 private constant UNREGISTRATION_AFTER_EPOCHS = 4;
uint128 private constant VOTING_THRESHOLD_FACTOR = 0.04e18;
uint88 private constant MIN_CLAIM = 500e18;
Expand All @@ -55,7 +54,6 @@ abstract contract GovernanceAttacksTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down
2 changes: 0 additions & 2 deletions test/UniV4Donations.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ abstract contract UniV4DonationsTest is Test, Deployers {
uint128 private constant REGISTRATION_FEE = 1e18;
uint128 private constant REGISTRATION_THRESHOLD_FACTOR = 0.01e18;
uint128 private constant UNREGISTRATION_THRESHOLD_FACTOR = 4e18;
uint16 private constant REGISTRATION_WARM_UP_PERIOD = 4;
uint16 private constant UNREGISTRATION_AFTER_EPOCHS = 4;
uint128 private constant VOTING_THRESHOLD_FACTOR = 0.04e18;
uint88 private constant MIN_CLAIM = 500e18;
Expand All @@ -87,7 +86,6 @@ abstract contract UniV4DonationsTest is Test, Deployers {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down
2 changes: 0 additions & 2 deletions test/VotingPower.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ abstract contract VotingPowerTest is Test {
uint128 private constant REGISTRATION_FEE = 1e18;
uint128 private constant REGISTRATION_THRESHOLD_FACTOR = 0.01e18;
uint128 private constant UNREGISTRATION_THRESHOLD_FACTOR = 4e18;
uint16 private constant REGISTRATION_WARM_UP_PERIOD = 4;
uint16 private constant UNREGISTRATION_AFTER_EPOCHS = 4;
uint128 private constant VOTING_THRESHOLD_FACTOR = 0.04e18;
uint88 private constant MIN_CLAIM = 500e18;
Expand All @@ -46,7 +45,6 @@ abstract contract VotingPowerTest is Test {
registrationFee: REGISTRATION_FEE,
registrationThresholdFactor: REGISTRATION_THRESHOLD_FACTOR,
unregistrationThresholdFactor: UNREGISTRATION_THRESHOLD_FACTOR,
registrationWarmUpPeriod: REGISTRATION_WARM_UP_PERIOD,
unregistrationAfterEpochs: UNREGISTRATION_AFTER_EPOCHS,
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
Expand Down
Loading