[Bug] Celo blocks before Gingerbread fail to parse since v0.42.0 (missing `sha3Uncles`)
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 52/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- rust
- Domínio
- backend, blockchain
Direção de pesquisa
Read the Alloy migration in #6063 and the earlier Celo fix in commit bfba0af or #2284 to see how the missing sha3Uncles field was handled. Reproduce the deserialization failure for a pre-Gingerbread block such as 18946750, then trace the block parsing path. Done means those blocks parse successfully while post-Gingerbread behavior remains correct.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Bug report
Since v0.42.0, graph-node can't parse Celo blocks from before the Gingerbread hard fork (mainnet block 21616000). Every eth_getBlockByNumber / eth_getBlockByHash call for such a block fails, and the call is retried without a limit:
Trying again after eth_getBlockByNumber RPC call for block number 18946750 failed (attempt #6) with result Err(deserialization error: missing field `sha3Uncles` at line 1 column 2161 ...
Subgraphs that need these blocks from RPC stall on re-deployments, re-syncs, and grafts with a start block before 21616000.
Root cause
Celo blocks before Gingerbread have no uncles hash in their header, so RPC nodes omit sha3Uncles. Gingerbread added the field back.
- Up to v0.41.x, graph-node used rust-web3 fork. Commit
bfba0af(2021-03-16, pulled in by #2284) made the lack ofsha3Unclesfor Celo not an issue by establishing a default value. - #6063 (merged 2026-01-22, released in v0.42.0) replaced rust-web3 with alloy. The Celo patch wasn't ported for the alloy library.
Relevant log output
Trying again after eth_getBlockByNumber RPC call for block number 18946750 failed (attempt #6) with result Err(deserialization error: missing field `sha3Uncles` at line 1 column 2161 ...
IPFS hash
No response
Subgraph name or link to explorer
No response
Some information to help us out
- Tick this box if this bug is caused by a regression found in the latest release.
- Tick this box if this bug is specific to the hosted service.
- I have searched the issue tracker to make sure this issue is not a duplicate.
OS information
Linux
- Linguagem predominante
- Rust
- Estrelas
- 3.2k
- Forks
- 1.1k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de graphprotocol/graph-node
-
current: include emits an all-null bucket for dimensionless aggregations, nulling the whole responseAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
graphprotocol/graph-node#6719 ·
-
RUSTSEC-2026-0194: Quadratic run time when checking a start tag for duplicate attribute namesTalvez já em andamento @szupzj18 assumiu há 64 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
graphprotocol/graph-node#6673 ·
-
RUSTSEC-2026-0185: Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassemblyTalvez já em andamento @abisheik687 assumiu há 106 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
graphprotocol/graph-node#6650 · 1 comentário ·
-
[Bug] Subgraph startup rehashes the WASM module once per data source (minutes for subgraphs with millions of dynamic data sources)Talvez já em andamento @madumas assumiu há 6 dias. Aberta
Dificuldade 3/5 Meio dia Facilidade para iniciantes 22/100
graphprotocol/graph-node#6731 · 1 comentário ·
-
`loadRelated` can return stale children while blocks are queued for writing (`!= any` in `FindDerivedQuery`; unrelated queued writes not excluded)Talvez já em andamento @madumas assumiu há 11 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 50/100
graphprotocol/graph-node#6726 ·
Todas as issues de graphprotocol/graph-node
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
adorsys/status-list-server#698 ·
Mantenedores costumam responder em até 2 dias
-
Expose the dot grid colourAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
nannou-org/egui_graph#92 ·
Mantenedores costumam responder em até 1 dia
-
documentation good first issue
Dificuldade 2/5 Meio dia Facilidade para iniciantes 72/100
sujithputta02/Esapay#13 ·
-
Deduplicate normalized_f64_bits (hash_table.rs and bloom_filter.rs)Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
tursodatabase/turso#10002 ·
Mantenedores costumam responder em até 1 dia
-
needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
topgrade-rs/topgrade#2419 ·
Mantenedores costumam responder em até 1 dia