FuelLabs / fuel-indexer

šŸ—ƒ The Fuel indexer is a standalone service that can be used to index various components of the Fuel blockchain.
https://docs.fuel.network/docs/indexer/
140 stars 66 forks source link

`forc index status` panics #1447

Closed ra0x3 closed 10 months ago

ra0x3 commented 10 months ago

Issue

Thanks for opening an issue on the Fuel Indexer project.

*If you're an internal FuelLabs contributor, please feel free to remove this template when creating issues, as this template is meant for external users and contributors.

Prerequisites

Description

Steps to Reproduce

Expected behavior: I'd expect the command to not panic

Actual behavior: The command panics when trying to read the JSON repsonse?

forc index status --url http://beta-4-indexer-qa.swayswap.io --auth $INDEXER_QA_JWT

āœ… Successfully fetched service health:

client status: OK
database status: OK
uptime: 17days 11h 3m 32s

thread 'main' panicked at /Users/runner/work/fuel-indexer/fuel-indexer/plugins/forc-index/src/ops/forc_index_status.rs:100:34:
Failed to read JSON response.: reqwest::Error { kind: Decode, source: Error("invalid type: map, expected a tuple of size 2", line: 1, column: 1) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    81581 abort      forc index status --url http://beta-4-indexer-qa.swayswap.io --auth

Versions

Please list what version of indexer components you're using. Latest is currently .

ra0x3 commented 10 months ago

Sorry for the comment on this. There is no issue. QA has not been re-deployed with 0.23.0