Skip to content

Commit

Permalink
Fetch first block proposals
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed Sep 27, 2024
1 parent 53ac3e2 commit 04fd82f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ export async function fetchAndInsertPerformanceCron({
if (is_syncing) throw new NodeSyncingError("Node is syncing");
if (el_offline) throw new ExecutionOfflineError("Execution layer is offline");

validatorsAttestationsTotalRewards = await getAttestationsTotalRewards({
validatorBlockStatusMap = await getBlockProposalStatusMap({
beaconchainApi,
epoch: currentEpoch.toString(),
activeValidatorsIndexes
});

validatorBlockStatusMap = await getBlockProposalStatusMap({
validatorsAttestationsTotalRewards = await getAttestationsTotalRewards({
beaconchainApi,
epoch: currentEpoch.toString(),
activeValidatorsIndexes
Expand Down

0 comments on commit 04fd82f

Please sign in to comment.