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

(BEDS-1236) use EB for dashboard limits #1367

Open
wants to merge 2 commits into
base: BEDS-96/pectra-api-review
Choose a base branch
from

Conversation

remoterami
Copy link
Contributor

@remoterami remoterami commented Feb 28, 2025

Based on #1365

  • converts multiple queries to goqu
  • introduces general approach for EB checking
  • changes vdb retrieval and validator addition accordingly
  • adjusts some related API response fields
  • also applies different gnosis premium perks

@remoterami remoterami force-pushed the BEDS-1236/dashboard-eb-limits branch from 661f747 to 2e8c445 Compare February 28, 2025 11:54
Copy link

cloudflare-workers-and-pages bot commented Feb 28, 2025

Deploying beaconchain with  Cloudflare Pages  Cloudflare Pages

Latest commit: c8acd84
Status: ✅  Deploy successful!
Preview URL: https://0c66844d.beaconchain.pages.dev
Branch Preview URL: https://beds-1236-dashboard-eb-limit.beaconchain.pages.dev

View logs

(cherry picked from commit a17f8f8)
(cherry picked from commit 2450ba3)
@remoterami remoterami force-pushed the BEDS-1236/dashboard-eb-limits branch from 2e8c445 to ba77d29 Compare February 28, 2025 12:13
@remoterami remoterami force-pushed the BEDS-1236/dashboard-eb-limits branch from ba77d29 to c8acd84 Compare February 28, 2025 12:32
@@ -361,6 +367,66 @@ func (d *DataAccessService) GetUserDashboards(ctx context.Context, userId uint64
return nil
})

// TODO could merge with above query
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to create a separate function for this, otherwise our functions are too many lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants