Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] arbitrum-goerli chain is unable to get logs of more than 1000 contracts per block at a time #109

Open
0xshippor opened this issue Jul 24, 2023 · 0 comments

Comments

@0xshippor
Copy link

0xshippor commented Jul 24, 2023

Hello,

I am trying to index contracts on arbitrum-goerli that are added to subgraph dynamically using templates. Once there are more than 1000 contracts added I will get following warning in hosted service and subgraph halts indexing.
Trying again after eth_getLogs RPC call for block range: [25628130..25628130] failed (attempt #10) with result Err(Rpc(Error { code: InvalidParams, message: "1001 addresses specified in query, but only 1000 are allowed", data: None })), component: BlockStream

See my deployed subgraph here. Also, every time a new contract is added using templates a single PotentialNonBlockingLzApp is created. To query those use

{
  potentialNonBlockingLzApps (skip: 1000, first: 1000) {
    id
  }
}

and my subgraph indeed returns 1001 entities.

I assume arbitrum goerli node used under the hood does not allow to eth_getLogs of more than 1000 addresses at once. I have deployed same subgraph on fantom-testnet, fuji, mumbai and it is syncing without any issues.

As I don't see this issue on other chains I assume it is a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant