snowbridge_pallet_ethereum_client/config/altair.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
3
4/// Generalized Indices
5/// related to Merkle proofs
6/// get_generalized_index(BeaconState, 'block_roots')
7pub const BLOCK_ROOTS_INDEX: usize = 37;
8/// get_generalized_index(BeaconState, 'finalized_checkpoint', 'root')
9pub const FINALIZED_ROOT_INDEX: usize = 105;
10/// get_generalized_index(BeaconState, 'current_sync_committee')
11pub const CURRENT_SYNC_COMMITTEE_INDEX: usize = 54;
12/// get_generalized_index(BeaconState, 'next_sync_committee')
13pub const NEXT_SYNC_COMMITTEE_INDEX: usize = 55;
14/// get_generalized_index(BeaconBlockBody, 'execution_payload')
15pub const EXECUTION_HEADER_INDEX: usize = 25;