Skip to content

Add providers for consolidation and deposit requests.#113

Merged
Bez625 merged 2 commits into
wealdtech:masterfrom
ahmohamed:master
Jun 10, 2025
Merged

Add providers for consolidation and deposit requests.#113
Bez625 merged 2 commits into
wealdtech:masterfrom
ahmohamed:master

Conversation

@ahmohamed
Copy link
Copy Markdown
Contributor

This PR adds support for retrieving consolidation and deposit requests from the chain database.

1 .PostgreSQL Implementation:

  • Added ConsolidationRequests method to retrieve consolidation requests based on filters
  • Added DepositRequests method to retrieve deposit requests based on filters
  • Added ConsolidationRequestFilter with support for filtering by slot range, source/target pubkeys, and block roots
  • Added DepositRequestFilter with support for filtering by slot range, validator pubkeys, and block roots
  1. Mock Service Updates: Added mock implementations for all new methods to maintain interface compatibility.

Comment thread services/chaindb/postgresql/consolidationrequests.go Outdated
Comment thread services/chaindb/postgresql/depositrequests.go Outdated
@ahmohamed ahmohamed requested a review from Bez625 May 20, 2025 06:22
@Bez625 Bez625 requested a review from mcdee May 20, 2025 06:24
@Bez625
Copy link
Copy Markdown
Collaborator

Bez625 commented May 20, 2025

Thanks @mcdee !

@Bez625 Bez625 merged commit e2e4a9d into wealdtech:master Jun 10, 2025
2 checks passed
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.

3 participants