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

Broken query_tx_deltas #2381

Closed
grarco opened this issue Jan 11, 2024 · 0 comments · Fixed by #3142
Closed

Broken query_tx_deltas #2381

grarco opened this issue Jan 11, 2024 · 0 comments · Fixed by #3142

Comments

@grarco
Copy link
Collaborator

grarco commented Jan 11, 2024

I believe there's an issue with query_tx_deltas.

pub async fn query_tx_deltas<C: Client + Sync>(

The function relies on calling tx_search which is only available if the node has indexing turned on (which we disable by default given the increase in storage consumption).

Even if the indexer is indeed available, the function produces a query based on the attributes transfer.source, transfer.target, transfer.token, but we never actually produce these attributes in finalize_block. Indeed, from some tests I ran, the query always returns an empty response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant