Skip to content

[hot fix] Use Beaconcha.in endpoint for total ETH staked#16428

Merged
corwintines merged 4 commits into
masterfrom
patch-api-fetch
Oct 2, 2025
Merged

[hot fix] Use Beaconcha.in endpoint for total ETH staked#16428
corwintines merged 4 commits into
masterfrom
patch-api-fetch

Conversation

@wackerow
Copy link
Copy Markdown
Member

@wackerow wackerow commented Oct 2, 2025

Description

  • Removes usage of Dune Analytics API for fetching total ETH staked
  • Adds isolated lib/api fetch utility to get "eligible ETH" from Beaconcha.in "epoch" endpoint
  • Implement new fetch value on homepage and /enterprise page
  • Update /staking fetch to use same pattern (eligibleether value instead of effective_balances_sum_wei) to align with homepage, /enterprise page, and Beaconcha.in homepage

Related Issue

Production deploys breaking as a result of hitting Dune API request limits

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 2, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit dc6e117
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/68dee10c113df1000873192c
😎 Deploy Preview https://deploy-preview-16428--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 42 (🔴 down 1 from production)
Accessibility: 94 (no change from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the tooling 🔧 Changes related to tooling of the project label Oct 2, 2025
@github-actions github-actions Bot added content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program labels Oct 2, 2025
@corwintines corwintines merged commit d6258c1 into master Oct 2, 2025
10 of 12 checks passed
@corwintines corwintines deleted the patch-api-fetch branch October 2, 2025 21:19
This was referenced Oct 9, 2025
This was referenced Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content 🖋️ This involves copy additions or edits tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants