graphprotocol / graphprotocol/graph-node

[Bug] Graph node doesn't index the forked hardhat network correctly.

Ouverte
#4,841 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

bug Stale
Langage dominant
Rust
Étoiles
3.2k
Forks
1.1k
Merge moyen
4 j 1 h
PR mergées (30 j)
1

Description

Bug report

I run hardhat node forking Arbitrum.
I deployed subgraph to the local graph node using https://github.com/radiant-capital/radiant-subgraph/tree/fix-local.
But the api returns empty arrays and it doesn't seem to index it correctly.

Relevant log output
`radiant_indexer  | Aug 30 15:40:34.021 INFO Downloading latest blocks from Ethereum, this may take a few minutes..., provider: 31337-rpc-0, component: EthereumPollingBlockIngestor
radiant_indexer  | Aug 30 15:40:34.236 ERRO Trying again after block polling failed: Receipt for tx 0xeb96942da9c2a907a30a34883132dbc463022c1365475e96ed422c35c01dfae2 unavailable, block was likely uncled (block hash = 0xcedad82558e06d0de0e1687486c27a79ea28a601975d17918c6bbf1c98132cee), provider: 31337-rpc-0, component: EthereumPollingBlockIngestor
radiant_indexer  | Aug 30 15:40:35.240 INFO Downloading latest blocks from Ethereum, this may take a few minutes..., provider: 31337-rpc-0, component: EthereumPollingBlockIngestor
radiant_indexer  | Aug 30 15:40:35.426 ERRO Trying again after block polling failed: Receipt for tx 0xeb96942da9c2a907a30a34883132dbc463022c1365475e96ed422c35c01dfae2 unavailable, block was likely uncled (block hash = 0xcedad82558e06d0de0e1687486c27a79ea28a601975d17918c6bbf1c98132cee), provider: 31337-rpc-0, component: EthereumPollingBlockIngestor
radiant_indexer  | Aug 30 15:40:36.429 INFO Downloading latest blocks from Ethereum, this may take a few minutes..., provider: 31337-rpc-0, component: EthereumPollingBlockIngestor
radiant_indexer  | Aug 30 15:40:36.640 ERRO Trying again after block polling failed: Receipt for tx 0xeb96942da9c2a907a30a34883132dbc463022c1365475e96ed422c35c01dfae2 unavailable, block was likely uncled (block hash = 0xcedad82558e06d0de0e1687486c27a79ea28a601975d17918c6bbf1c98132cee), provider: 31337-rpc-0, component: EthereumPollingBlockIngestor`
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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par reproduire le rapport avec un Hardhat node qui fork Arbitrum et examinez les logs de EthereumPollingBlockIngestor, en particulier le reçu de transaction et le hash du bloc indisponibles. Le rapport ne nomme aucun fichier source ni aucun test ; le travail sera considéré comme terminé lorsque le réseau forké sera indexé avec succès et que l’API renverra les données du subgraph déployé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
blockchain, rust
Domaine
backend-api-design, blockchain
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.