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

Update InactivityPenaltyQuotient to 1 << 24 #5943

Merged
merged 3 commits into from
May 21, 2020
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: 2 additions & 0 deletions beacon-chain/core/state/interop_regression_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ func TestTopazRewardsRegression_StateRootValid(t *testing.T) {
// https://github.com/prysmaticlabs/prysm/issues/5901
// https://github.com/prysmaticlabs/prysm/issues/5897
func TestSchlesiRewardsRegression_PyspecState(t *testing.T) {
t.Skip("Skipping until 5935 is resolved. New v0.12 config invalidates this test")

regressionPath := "beacon-chain/core/state/regression_files"
blockFile := "schlesi_lighthouse_block.ssz"
preStateFile := "schlesi_lighthouse_pre_state.ssz"
Expand Down
2 changes: 1 addition & 1 deletion shared/params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ var defaultBeaconConfig = &BeaconChainConfig{
BaseRewardFactor: 64,
WhistleBlowerRewardQuotient: 512,
ProposerRewardQuotient: 8,
InactivityPenaltyQuotient: 1 << 25,
InactivityPenaltyQuotient: 1 << 24,
MinSlashingPenaltyQuotient: 32,

// Max operations per block constants.
Expand Down