graphprotocol / graphprotocol/graph-node
[Feature] EIP-4844 Blob support
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Rust
- Estrellas
- 3.2k
- Forks
- 1.1k
- Merge medio
- 4 d 1 h
- PR fusionados (30 d)
- 1
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
No se nombran archivos de implementación ni pruebas. Empieza investigando las rutas de datos existentes de Ethereum RPC y subgraph de graph-node; después, resuelve el acceso a la Consensus Layer, la retención y el determinismo de los blobs, y las cuestiones relacionadas con el formato del contenido; el trabajo estará terminado cuando los subgraphs puedan acceder a los datos de blobs de EIP-4844, analizarlos y decodificarlos, con un comportamiento histórico definido.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- blockchain, rust
- Área
- backend-api-design, blockchain
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100