graphprotocol / graphprotocol/graph-node

[Feature] EIP-4844 Blob support

Đang mở
#5,212 3 bình luận 7 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

open discussion Stale
Ngôn ngữ chính
Rust
Star
3.2k
Fork
1.1k
Merge trung bình
4 ngày 1 giờ
Pull request đã merge (30 ngày)
1

Mô tả

Description

Proto-danksharding is slated for deployment on the Ethereum mainnet in March, following its successful implementation on test networks. The primary focus of EIP-4844 has been on Layer 2 (L2) solutions, which will utilize the new Type 3 transactions for data storage, rather than depending on the (comparatively) expensive calldata. However, it's anticipated that various other applications will also adopt this innovation. There's already discussion among DeFi dApps about exploring this capability.

We don't know how it will be used, but graph-node should support blobs and allow subgraphs to parse and decode the data to make it usable by developpers. This feature would allow developers to access the information without needing to resort to potentially costly RPC calls. The Graph might also offer an effective solution to the data retention challenges posed by EIP-4844.

Several technical questions need addressing:

  • Determinism: By default, consensus layer (CL) nodes will only store blob data for a very brief period. This implies that subgraphs indexed at different times will capture varying data sets. The network lacks support for synchronizing this data, but indexers might have the option to retrieve historical data by other offline means, though this is yet to be confirmed.
  • Consensus Layer (beacon chain/eth2) Support: At present, graph-node does not support RPC calls to CL nodes.
  • Standardization of Blob Content Format: The format for blob content has not been standardized.
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No response

Some information to help us out
  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Không có tệp triển khai hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng việc điều tra các đường dẫn dữ liệu Ethereum RPC và subgraph hiện có của graph-node, sau đó giải quyết vấn đề truy cập Consensus Layer, việc lưu giữ và tính xác định của blob, cũng như các câu hỏi về định dạng nội dung; công việc được xem là hoàn tất khi các subgraph có thể truy cập, phân tích cú pháp và giải mã dữ liệu blob EIP-4844, với hành vi lịch sử được xác định rõ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
blockchain, rust
Lĩnh vực
backend-api-design, blockchain
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.