erigon-pulse/cmd/erigon-cl/core/state/params.go
2023-01-23 14:26:57 +01:00

36 lines
1.7 KiB
Go

package state
type StateLeafIndex uint
// All position of all the leaves of the state merkle tree.
const (
GenesisTimeLeafIndex StateLeafIndex = 0
GenesisValidatorsRootLeafIndex StateLeafIndex = 1
SlotLeafIndex StateLeafIndex = 2
ForkLeafIndex StateLeafIndex = 3
LatestBlockHeaderLeafIndex StateLeafIndex = 4
BlockRootsLeafIndex StateLeafIndex = 5
StateRootsLeafIndex StateLeafIndex = 6
HistoricalRootsLeafIndex StateLeafIndex = 7
Eth1DataLeafIndex StateLeafIndex = 8
Eth1DataVotesLeafIndex StateLeafIndex = 9
Eth1DepositIndexLeafIndex StateLeafIndex = 10
ValidatorsLeafIndex StateLeafIndex = 11
BalancesLeafIndex StateLeafIndex = 12
RandaoMixesLeafIndex StateLeafIndex = 13
SlashingsLeafIndex StateLeafIndex = 14
PreviousEpochParticipationLeafIndex StateLeafIndex = 15
CurrentEpochParticipationLeafIndex StateLeafIndex = 16
JustificationBitsLeafIndex StateLeafIndex = 17
PreviousJustifiedCheckpointLeafIndex StateLeafIndex = 18
CurrentJustifiedCheckpointLeafIndex StateLeafIndex = 19
FinalizedCheckpointLeafIndex StateLeafIndex = 20
InactivityScoresLeafIndex StateLeafIndex = 21
CurrentSyncCommitteeLeafIndex StateLeafIndex = 22
NextSyncCommitteeLeafIndex StateLeafIndex = 23
LatestExecutionPayloadHeaderLeafIndex StateLeafIndex = 24
NextWithdrawalIndexLeafIndex StateLeafIndex = 25
NextWithdrawalValidatorIndexLeafIndex StateLeafIndex = 26
HistoricalSummariesLeafIndex StateLeafIndex = 27
)