Skip to content

Conversation

@domiwei
Copy link
Member

@domiwei domiwei commented Aug 5, 2025

@domiwei domiwei requested review from Giulio2002 and Copilot August 7, 2025 16:30
@domiwei domiwei changed the title wip: beacon fulu api proposer_lookahead api and column data events Aug 7, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements initial beacon API support for the Fulu fork with data column sidecars functionality. The changes add support for handling data column storage and related API endpoints as part of the Ethereum beacon chain's Data Availability Sampling (DAS) feature.

Key changes include:

  • Added data column storage integration with event emitters
  • Implemented new API endpoints for data column sidecars retrieval
  • Added proposer lookahead functionality to fork choice store
  • Enhanced beacon response handling with custom headers

Reviewed Changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
cmd/caplin/caplin1/run.go Integrate emitters parameter into data column storage and service constructors
cl/spectest/consensus_tests/fork_choice.go Update test to include emitters parameter for data column storage
cl/sentinel/handlers/heartbeats.go Add earliest available slot logging to status handler
cl/phase1/network/services/data_column_sidecar_service.go Add event emitter support to data column sidecar service
cl/phase1/forkchoice/on_block.go Add pending state data and proposer lookahead tracking
cl/phase1/forkchoice/mock_services/forkchoice_mock.go Add mock method for proposer lookahead retrieval
cl/phase1/forkchoice/interface.go Add proposer lookahead interface method
cl/phase1/forkchoice/forkchoice.go Implement proposer lookahead caching functionality
cl/persistence/blob_storage/mock_services/data_column_storage_mock.go Generated mock for data column storage interface
cl/persistence/blob_storage/data_column_db.go Add event emission and improved error handling for data column operations
cl/beacon/handler/validator_test.go Update test constructor with additional nil parameter
cl/beacon/handler/utils_test.go Add mock data column storage to test setup
cl/beacon/handler/states.go Implement proposer lookahead API endpoint
cl/beacon/handler/handler.go Add data column storage field and debug API endpoint routing
cl/beacon/handler/events.go Add data column sidecar event topic support
cl/beacon/handler/blobs.go Implement data column sidecars retrieval API endpoint
cl/beacon/builder/client.go Add support for Fulu fork in builder client
cl/beacon/beaconhttp/beacon_response.go Add custom header support to beacon responses
cl/beacon/beaconhttp/api.go Enable custom header handling in API responses
cl/beacon/beaconevents/operation_feed.go Add data column sidecar event emission method
cl/beacon/beaconevents/model.go Define data column sidecar event type and data structure
Comments suppressed due to low confidence (1)

cl/persistence/blob_storage/data_column_db.go:52

  • The emitters field is being set in the struct but the constructor parameter is not being assigned. The emitters parameter should be assigned: emitters: emitters,
		beaconChainConfig: beaconChainConfig,

@Giulio2002
Copy link
Contributor

pls resolve conflicts. LGTM for the rest

@Giulio2002 Giulio2002 merged commit c908e90 into main Aug 14, 2025
16 checks passed
@Giulio2002 Giulio2002 deleted the kewei/fulu_api branch August 14, 2025 11:00
@domiwei domiwei restored the kewei/fulu_api branch August 14, 2025 13:18
NazariiDenha pushed a commit that referenced this pull request Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants