Skip to content

Local graph node deployment Ganache vs Geth / Rinkeby #2570

@alejoacosta74

Description

@alejoacosta74

Hi team
We are testing the local deployment of a Graph node.

We are testing Geth/Rinkeby against Ganache, with the same smart contract and same subgraph definition

With Ganache everything works like a charm, but with Geth, the Graph is not able to read the smart contract data and expose it via graphiql.

For comparison, these are the graph logs when running yarn create-local and yarn deploy-local when connected to Geth/Rinkeby:

2021-06-14T15:23:54.915776326Z Jun 14 15:23:54.915 INFO Syncing 50 blocks from Ethereum., code: BlockIngestionLagging, blocks_needed: 50, blocks_behind: 208, latest_block_head: 8763196, current_block_head: 8762988, network_name: rinkeby, component: BlockIngestor
2021-06-14T15:24:16.723574688Z Jun 14 15:24:16.723 INFO Received subgraph_deploy request, params: SubgraphDeployParams { name: SubgraphName("people-rinkeby"), ipfs_hash: SubgraphDeploymentId("QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j"), node_id: None }, component: JsonRpcServer
2021-06-14T15:24:16.723606000Z Jun 14 15:24:16.723 INFO Resolve manifest, link: /ipfs/QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphRegistrar
2021-06-14T15:24:16.726588341Z Jun 14 15:24:16.726 INFO Resolve schema, link: /ipfs/QmVqNxuqcBnD54tqR8WnLLMBNWuHo9Zapp4o56VDQRMjpu, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphRegistrar
2021-06-14T15:24:16.726614040Z Jun 14 15:24:16.726 INFO Resolve data source, source: 8742105, name: PersonRegistry, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphRegistrar
2021-06-14T15:24:16.726624283Z Jun 14 15:24:16.726 INFO Resolve mapping, link: /ipfs/QmfTcK3Fj8Y33Nu734Ku6BsoyTe9R6nV5r6Fk5SYUYzFVC, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphRegistrar
2021-06-14T15:24:16.726642215Z Jun 14 15:24:16.726 INFO Resolve ABI, link: /ipfs/QmXtiRNTEHScJYovV3oiuhY277yurkfW1CXkuHJZpPP28g, name: PersonRegistry, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphRegistrar
2021-06-14T15:24:16.732990007Z Jun 14 15:24:16.732 INFO Set subgraph start block, block_hash: Some(0x73bec154195305919a669d9f64acac80803b52217b43c9a11263bf8f23a13f82), block_number: Some(8742104), subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphRegistrar
2021-06-14T15:24:16.733013703Z Jun 14 15:24:16.732 INFO Graft base, block: None, base: None, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphRegistrar
2021-06-14T15:24:16.800369120Z Jun 14 15:24:16.800 INFO Resolve subgraph files using IPFS, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphAssignmentProvider
2021-06-14T15:24:16.800398541Z Jun 14 15:24:16.800 INFO Resolve manifest, link: /ipfs/QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphAssignmentProvider
2021-06-14T15:24:16.800447538Z Jun 14 15:24:16.800 INFO Resolve schema, link: /ipfs/QmVqNxuqcBnD54tqR8WnLLMBNWuHo9Zapp4o56VDQRMjpu, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphAssignmentProvider
2021-06-14T15:24:16.800540886Z Jun 14 15:24:16.800 INFO Resolve data source, source: 8742105, name: PersonRegistry, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphAssignmentProvider
2021-06-14T15:24:16.800566386Z Jun 14 15:24:16.800 INFO Resolve mapping, link: /ipfs/QmfTcK3Fj8Y33Nu734Ku6BsoyTe9R6nV5r6Fk5SYUYzFVC, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphAssignmentProvider
2021-06-14T15:24:16.800585049Z Jun 14 15:24:16.800 INFO Resolve ABI, link: /ipfs/QmXtiRNTEHScJYovV3oiuhY277yurkfW1CXkuHJZpPP28g, name: PersonRegistry, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphAssignmentProvider
2021-06-14T15:24:16.803219233Z Jun 14 15:24:16.803 INFO Successfully resolved subgraph files using IPFS, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphAssignmentProvider
2021-06-14T15:24:16.803284000Z Jun 14 15:24:16.803 INFO Start subgraph, data_sources: 1, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager
2021-06-14T15:24:16.818276556Z Jun 14 15:24:16.818 INFO Scanning blocks [8742105, 8742105], range_size: 1, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:16.834505551Z Jun 14 15:24:16.834 INFO Scanning blocks [8742106, 8742115], range_size: 10, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:16.846075124Z Jun 14 15:24:16.845 INFO Scanning blocks [8742116, 8742215], range_size: 100, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:16.859986580Z Jun 14 15:24:16.859 INFO Scanning blocks [8742216, 8743215], range_size: 1000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:16.873997550Z Jun 14 15:24:16.873 INFO Scanning blocks [8743216, 8745215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:16.891289134Z Jun 14 15:24:16.891 INFO Scanning blocks [8745216, 8747215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:16.905543257Z Jun 14 15:24:16.905 INFO Scanning blocks [8747216, 8749215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:16.924323758Z Jun 14 15:24:16.924 INFO Scanning blocks [8749216, 8751215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:17.008039672Z Jun 14 15:24:17.007 INFO Scanning blocks [8751216, 8753215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:17.082806649Z Jun 14 15:24:17.082 INFO Scanning blocks [8753216, 8755215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:17.156182679Z Jun 14 15:24:17.156 INFO Scanning blocks [8755216, 8757215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:17.229658950Z Jun 14 15:24:17.229 INFO Scanning blocks [8757216, 8759215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:17.662199140Z Jun 14 15:24:17.662 INFO Scanning blocks [8759216, 8761215], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:17.739730258Z Jun 14 15:24:17.739 INFO Scanning blocks [8761216, 8762938], range_size: 2000, subgraph_id: QmbuRx1zqLqFJ32JQWR4ecLh88PtxkDEsp4x4XLiZitG1j, component: SubgraphInstanceManager > BlockStream
2021-06-14T15:24:19.764686096Z Jun 14 15:24:19.764 INFO Syncing 50 blocks from Ethereum., code: BlockIngestionLagging, blocks_needed: 50, blocks_behind: 210, latest_block_head: 8763198, current_block_head: 8762988, network_name: rinkeby, component: BlockIngestor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions