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

RangeError: index out of range: #2539

Open
alexanderludwig opened this issue Aug 19, 2024 · 4 comments
Open

RangeError: index out of range: #2539

alexanderludwig opened this issue Aug 19, 2024 · 4 comments

Comments

@alexanderludwig
Copy link

Prerequisites

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

Description

When running Celestia standard template receiving this issue:
image

Details

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

image

alex@Alexanders-MBP celestia-starter % subql --version
@subql/cli/5.2.3 darwin-arm64 node-v21.7.3

Local Environment: [You can get this information from executing subql version.]
Query Version: [What is the version of the query service?]
Indexer Version: [What is the version of the indexer service?]
Network Details:
chainId: "celestia",
startBlock: 2143040,
endpoint: [
"https://celestia-rpc.publicnode.com:443",
],

Steps to Reproduce

Example project:
Just start the cosmos starter with described params.

Expected behavior: [What you expected to happen]
Indexing

Actual behavior: [What actually happened]
error message from above

Any other information

Is there any other information you would like to add?

@stwiname
Copy link
Collaborator

Hi @alexanderludwig

This is trying to decode a transaction using this function in a block but its not a RawTx. In order to help with this I would need to know the actual type to find a way to fix this.

@stwiname
Copy link
Collaborator

We have a similar issue that is being worked on but it doesn't seem to apply to your specific issue. subquery/subql-cosmos#280

@alexanderludwig
Copy link
Author

thanks for having a look at this @stwiname!! can you try running docker compose up for Celestia in cosmos-subql-starter? get the issue there without having done any modifications.

@stwiname
Copy link
Collaborator

Yes, I can reproduce the issue, we use cosmjs for decoding blocks but Celestia has different content in the transactions data. I've found some relevant issues from their organisation.

celestiaorg/celestia-app#2715
celestiaorg/celestia-core#1136

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

2 participants