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

[FEATURE] Use search condition of indexed parameter in indexer batch #480

Closed
purplesmoke05 opened this issue Feb 21, 2023 · 0 comments · Fixed by #482
Closed

[FEATURE] Use search condition of indexed parameter in indexer batch #480

purplesmoke05 opened this issue Feb 21, 2023 · 0 comments · Fixed by #482
Assignees
Labels
enhancement New feature or request

Comments

@purplesmoke05
Copy link
Member

Is your feature request related to a problem? Please describe.

  • In current implementation, no argument filter is passed to getLogs function in indexer batch.
    • e.g.)
      • # Get "HolderChanged" events from exchange contract
        holder_changed_events = ContractUtils.get_event_logs(
        contract=self.exchange_contract,
        event="HolderChanged",
        block_from=block_from,
        block_to=block_to,
        )
  • This can result a high load on blockchain.

Describe the solution you'd like

  • Get event logs with argument_filter In indexer batch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant