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

Cosmos indexer failing with Error: Cannot read properties of undefined (reading 'body') #277

Open
3 tasks done
metmirr opened this issue Jul 30, 2024 · 0 comments
Open
3 tasks done

Comments

@metmirr
Copy link

metmirr commented Jul 30, 2024

Prerequisites

  • Are you running the latest version(s)?
  • Have you searched the documentation for your issue?
  • Did you search for an existing issue or pull request?

Description

I am running indexer for neutron pion-1 testnet. It is failing with this error

2024-07-30T08:53:44.064Z <WorkerBlockDispatcherService> INFO Enqueueing blocks 12696071...12696100, total 30 blocks 
2024-07-30T08:53:46.198Z <WorkerBlockDispatcherService> ERROR failed to index block at height 12696071  Error: Cannot read properties of undefined (reading 'body')
2024-07-30T08:53:51.121Z <subql-node> INFO Current @subql/node-cosmos version is 4.0.1 
2024-07-30T08:53:51.123Z <subql-node> INFO Current @subql/node-cosmos version is 4.0.1 

Details

These details can help to reproduce the environment the issue is occurring

Local Environment: @subql/cli/5.1.1 darwin-x64 node-v18.17.1
Query Version: [What is the version of the query service?] N/A
Indexer Version: [What is the version of the indexer service?] N/A
Network Details:

  • Neutron, pion-1
  • [Block height, a block height where the issue is happening] 12696071
  • [Dictionary endpoint, if used]

Steps to Reproduce

  1. Clone the project https://github.com/egabee/neutron-indexer-v1
  2. Switch to branch indexer-bug
  3. bun install && bun run codegen && bun run build && bun run start:docker

Expected behavior: [What you expected to happen]

Indexer to run successfully and index the chain.

Actual behavior: [What actually happened]

Failing with error that is related to decoding.

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