Skip to content

Commit

Permalink
Disable post-upgrade stake housekeeping (#9475)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Tinker <[email protected]>
  • Loading branch information
tinker-michaelj authored Oct 25, 2023
1 parent dee17a6 commit ddc7f2b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ staking.maxStakeRewarded=5000000000000000000
staking.periodMins=1
staking.rewardBalanceThreshold=0
staking.rewardHistory.numStoredPeriods=365
staking.startupHelper.recompute=NODE_STAKES,PENDING_REWARDS
# Comma-separated list of { NODE_STAKES, PENDING_REWARDS }
staking.startupHelper.recompute=
tokens.storeRelsOnDisk=true
hedera.workflows.enabled=
# Dynamic properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ staking.maxStakeRewarded=650000000000000000
staking.periodMins=1440
staking.rewardBalanceThreshold=8500000000000000
staking.rewardHistory.numStoredPeriods=365
staking.startupHelper.recompute=NODE_STAKES,PENDING_REWARDS
# Comma-separated list of { NODE_STAKES, PENDING_REWARDS }
staking.startupHelper.recompute=
tokens.storeRelsOnDisk=true
hedera.workflows.enabled=
# Dynamic properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class BootstrapPropertiesTest {
entry(STAKING_REWARD_BALANCE_THRESHOLD, 0L),
entry(STAKING_REQUIRE_MIN_STAKE_TO_REWARD, false),
entry(STAKING_REWARD_HISTORY_NUM_STORED_PERIODS, 365),
entry(STAKING_STARTUP_HELPER_RECOMPUTE, EnumSet.allOf(StakeStartupHelper.RecomputeType.class)),
entry(STAKING_STARTUP_HELPER_RECOMPUTE, EnumSet.noneOf(StakeStartupHelper.RecomputeType.class)),
entry(STAKING_PER_HBAR_REWARD_RATE, 6_849L),
entry(STAKING_START_THRESH, 25000000000000000L),
entry(STAKING_FEES_NODE_REWARD_PERCENT, 0),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ staking.maxStakeRewarded=5000000000000000000
staking.periodMins=1
staking.rewardBalanceThreshold=0
staking.rewardHistory.numStoredPeriods=365
staking.startupHelper.recompute=NODE_STAKES,PENDING_REWARDS
# Comma-separated list of { NODE_STAKES, PENDING_REWARDS }
staking.startupHelper.recompute=
tokens.storeRelsOnDisk=true
hedera.workflows.enabled=
# Dynamic properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ staking.maxStakeRewarded=5000000000000000000
staking.periodMins=1440
staking.rewardBalanceThreshold=0
staking.rewardHistory.numStoredPeriods=365
staking.startupHelper.recompute=NODE_STAKES,PENDING_REWARDS
# Comma-separated list of { NODE_STAKES, PENDING_REWARDS }
staking.startupHelper.recompute=
tokens.storeRelsOnDisk=true
hedera.workflows.enabled=
# Dynamic properties
Expand Down

0 comments on commit ddc7f2b

Please sign in to comment.