Skip to content

Instantly share code, notes, and snippets.

@q9f
Created April 27, 2020 13:17
Show Gist options
  • Save q9f/090f017abba9809f8cf7055aac5ecf16 to your computer and use it in GitHub Desktop.
Save q9f/090f017abba9809f8cf7055aac5ecf16 to your computer and use it in GitHub Desktop.
Schlesi Patch for Prysm
diff --git a/shared/params/config.go b/shared/params/config.go
index 9ed2fe16e..aa0f6a2bc 100644
--- a/shared/params/config.go
+++ b/shared/params/config.go
@@ -115,7 +115,7 @@ var defaultBeaconConfig = &BeaconChainConfig{
FarFutureEpoch: 1<<64 - 1,
BaseRewardsPerEpoch: 4,
DepositContractTreeDepth: 32,
- MinGenesisDelay: 86400, // 1 day
+ MinGenesisDelay: 3600, // 1 hour
// Misc constant.
TargetCommitteeSize: 128,
@@ -124,8 +124,8 @@ var defaultBeaconConfig = &BeaconChainConfig{
MinPerEpochChurnLimit: 4,
ChurnLimitQuotient: 1 << 16,
ShuffleRoundCount: 90,
- MinGenesisActiveValidatorCount: 16384,
- MinGenesisTime: 0, // Zero until a proper time is decided.
+ MinGenesisActiveValidatorCount: 4,
+ MinGenesisTime: 1587755000, // Zero until a proper time is decided.
TargetAggregatorsPerCommittee: 16,
HysteresisQuotient: 4,
HysteresisDownwardMultiplier: 1,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment