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

Optimize GraphQL "dry run" query #2392

Open
rafal-ch opened this issue Oct 24, 2024 · 0 comments
Open

Optimize GraphQL "dry run" query #2392

rafal-ch opened this issue Oct 24, 2024 · 0 comments
Assignees

Comments

@rafal-ch
Copy link
Contributor

The source of this issue is #623.

Initially, the idea was to remove all complex queries from fuel-core and make it part of the indexer's responsibility. But the SDK is deeply integrated with these basic queries, that we need to support them on fuel-core. For that, we need to optimize the following query by aggregating some information in the off-chain worker or adding new indexes to the database:

  • The dry_run already allows the dry running of many transactions; we just need to forbid several dry run sub-queries inside of one query.

Extracted from the #1965, which initially covered optimizations for 3 different areas: balances, coins to spend, dry run.

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

1 participant