paritytech / paritytech/subxt

Light Client: No node available for call proof query.

Open
#1,524 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
489
Forks
293
Avg merge
18h 35m
Merged PRs (30d)
3

Description

I am encountering this error after starting the light client and committing a transaction immediately. The error message is:

2024-04-12T03:02:33.716878Z  WARN tx-service-ia-parachain: Failed to validate transaction 0xb812…7771: Error when retrieving the call proof: No node available for call proof query    
thread 'tests::test_light_client' panicked at src/tests.rs:166:10:
called `Result::unwrap()` on an `Err` value: Transaction(Dropped("Transaction was dropped"))

To workaround the issue, I have to add a 20 seconds delay between starting the light client and committing the first transaction. Anyone run into this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reproduction in src/tests.rs at line 166 and the tests::test_light_client case. Run the test with a transaction committed immediately after light-client startup, then compare it with the 20-second-delay workaround. Done means the initial transaction no longer fails with “No node available for call proof query” or gets dropped.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.