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] torii 500 response when querying zero address token transfers #2754

Closed
steebchen opened this issue Dec 3, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@steebchen
Copy link
Contributor

using version preview--c148789

thread 'tokio-runtime-worker' panicked at crates/torii/graphql/src/object/erc/token_transfer.rs:267:57:
metadata is always json: Error("EOF while parsing a value", line: 1, column: 0)
{
  tokenTransfers(accountAddress: "0x0000000000000000000000000000000000000000000000000000000000000000") {
    edges {
      node {
        ... on Token__Transfer {
          executedAt
          from
          to
        }
      }
    }
  }
}

config

world_address = "0x6a9e4c6f0799160ea8ddc43ff982a5f83d7f633e9732ce42701de1288ff705f"
rpc = "https://api.cartridge.gg/x/starknet/mainnet"
explorer = false

[indexing]
events_chunk_size = 1024
blocks_chunk_size = 10240
pending = true
polling_interval = 500
max_concurrent_tasks = 100
transactions = false
contracts = ["ERC721:0x57675b9c0bd62b096a2e15502a37b290fa766ead21c33eda42993e48a714b80", "ERC721:0x7ae27a31bb6526e3de9cf02f081f6ce0615ac12a6d7b85ee58b8ad7947a2809"]
namespaces = []
@glihm
Copy link
Collaborator

glihm commented Dec 5, 2024

As linked by @lambda-0x, solved in #2755.

@glihm glihm closed this as completed Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants