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

Track event indexes in block #786

Open
pro-wh opened this issue Oct 23, 2024 · 0 comments
Open

Track event indexes in block #786

pro-wh opened this issue Oct 23, 2024 · 0 comments

Comments

@pro-wh
Copy link
Collaborator

pro-wh commented Oct 23, 2024

Imported from https://app.clickup.com/t/8694jpmft

In both consensus and runtimes, an event can be uniquely identified by the (block height, consecutive idx) pair. We don't track the latter, but we should.

Task:
  1. add event index to the DB (NOTE - requires DB reindex, hence high-ish priority)
  2. expose it in the API (? - optional, possibly not yet needed)

Motivation:
This will enable us to link to single events from the activity table. We'll either deep-link into the table of a block's events, or we'll create a new FE page that shows a single event.
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