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

Missing response for eth_getBlockByNumber method #44

Closed
AtharvDesignString opened this issue Aug 30, 2023 · 5 comments · Fixed by #46
Closed

Missing response for eth_getBlockByNumber method #44

AtharvDesignString opened this issue Aug 30, 2023 · 5 comments · Fixed by #46
Assignees

Comments

@AtharvDesignString
Copy link

AtharvDesignString commented Aug 30, 2023

Hello I started the indexer but it is giving Missing response this error and not making any rpc calls. And I am not sure why you hardcoded value blockNumberRanges: [[2324586, 2324586]] in config/default.js

Environment

  • Blockchain: which blockchain is it?

I am using goerli and tried with mumbai still getting the same error

  • Blockroma Version: when did you find the problem?

latest

  • User Agent: describe your operating system and browser

I am using vscode on mac and using chrome.

Steps to reproduce

Tell us how to reproduce this issue. If possible, push up a branch to your fork with a regression test we can run to reproduce locally. A screenshot would be very helpful. If it's UI problem, what is the URL?

Screenshot 2023-08-30 at 3 20 11 PM

Expected Behaviour

Tell us what should happen.

Actual Behaviour

Tell us what happens instead.

@doranoda
Copy link
Member

yeah, this is a legitimate point - we should clean up the default config

@puncsky puncsky mentioned this issue Aug 30, 2023
2 tasks
@doranoda
Copy link
Member

you can set catchup indexer to false to disable the work to catch up previous blocks

@doranoda doranoda mentioned this issue Aug 30, 2023
2 tasks
@doranoda doranoda assigned doranoda and unassigned puncsky Aug 30, 2023
@AtharvDesignString
Copy link
Author

AtharvDesignString commented Aug 31, 2023

Hey @doranoda , But in indexer I want to store the data of the chain from genesis block to latest block and store it in database so why should I make catchup indexer false, then it will stop the fetching only. And in my case indexer was not making any rpc calls and hence it is not storing any data in the database can you help me with that?

@doranoda
Copy link
Member

if you want to scan from 0 to latest, you can use the following setup

    catchup: {
      enabled: true,
      blocksBatchSize: 200,

      blockNumberRanges: [[0, "latest"]],
    },

@AtharvDesignString
Copy link
Author

Okay will try. Thank you :)

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

Successfully merging a pull request may close this issue.

3 participants