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

Design pipeling for the processor #110

Closed
dzhelezov opened this issue Nov 12, 2020 · 1 comment
Closed

Design pipeling for the processor #110

dzhelezov opened this issue Nov 12, 2020 · 1 comment

Comments

@dzhelezov
Copy link
Contributor

This is a follow-up issue on #61

At the moment all the processing is done in a single step: Raw Event -> Call a mapping function. We can design a more robust processing system, roughly working as follows:

  • Figure out what events to fetch next (including e.g. wildcard filtering Arbitrary filters for fetching events from the indexers #105)
  • For each event in the queue figure out processing steps as defined in the manifest file. For example, the processing steps may e.g. look as follows:
    • Transform event data into a type-safe interface as defined in the schema
    • Decode fields as necessary (as e.g. Decode extrinsic args for sub call #6 or EVM)
    • Transform as defined in the mapping (with type-safe parameters)

The processing steps should be fully open-ended and implement a common interface. In particular, it should be possible to import a public pipelining step as a self-contained npm library and simply include it in the manifest file.

@dzhelezov
Copy link
Contributor Author

Outlined in #125 (Virtual Events)

@bedeho bedeho closed this as completed Feb 10, 2021
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

2 participants