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 genesis value for gnosis #5

Merged
merged 1 commit into from
Sep 3, 2024
Merged
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
28 changes: 14 additions & 14 deletions pkg/spec/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,25 @@ const (
MainnetGenesis = 1606824023
SepoliaGenesis = 1655733600
HoleskyGenesis = 1695902400
GnosisGenesis = 1638968400
GnosisGenesis = 1638993340
)

// Specific Constants for Mainnet configuration
const (
MainnetBaseRewardFactor = 64
MainnetSlotsPerEpoch = 32
MainnetSlotSeconds = 12
MainnetEpochSlots = 32
MainnetBaseRewardFactor = 64
MainnetSlotsPerEpoch = 32
MainnetSlotSeconds = 12
MainnetEpochSlots = 32
)

// Specific Constants for Gnosis configuration
const (
GnosisBaseRewardFactor = 25
GnosisSlotsPerEpoch = 16
GnosisSlotSeconds = 5
GnosisEpochSlots = 16
GnosisBaseRewardFactor = 25
GnosisSlotsPerEpoch = 16
GnosisSlotSeconds = 5
GnosisEpochSlots = 16
)


/*
Phase0
*/
Expand All @@ -41,12 +40,13 @@ const (
AttTargetFlagIndex = 1
AttHeadFlagIndex = 2
)

// make this dynamic... fixed to Gnosis for now
const (
BaseRewardFactor = 25
SlotsPerEpoch = 16
SlotSeconds = 5
EpochSlots = 16
BaseRewardFactor = 25
SlotsPerEpoch = 16
SlotSeconds = 5
EpochSlots = 16
)

/*
Expand Down