archethic-foundation / archethic-foundation/archethic-node
GraphQL Pagination could be optimized
- Dominant language
- Elixir
- Stars
- 82
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the problem you discovered
`Resolver.paginate_transactions` list all the addresses then fetch all the transaction then filter
### Describe the solution you'd like
we should list addresses and then filtering then fetching the transaction.
### Epic
_No response_
Contributor guide
Research direction
Start at the GraphQL Resolver.paginate_transactions entry point and trace how addresses and transactions are currently retrieved and filtered. Verify the pagination behavior and add or update coverage for the optimized retrieval order; done means filtering addresses before fetching their transactions without changing results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir, graphql
- Domain
- api, blockchain
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100