-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat(eventindexer): Timeseries data indexing + refactor to taiko-client/relayer CLI approach and architecture #14663
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
…mono into timeseries_data_indexing
feat(eventindexer): Timeseries data indexing + refactor to taiko-client/relayer CLI approach and architecture
🚨 Vulnerabilities Summary
For more details view the full report in OpenZeppelin Code |
Jeff, when this PR is ready, could you please briefly describe what you are trying to build? |
I added some comments. This is essentially indexing data for displaying time-series statistics via charts instead of our primitive status page, for the blockscout-frontend repo to display, as well as a generator Cron job subtask that will take this indexed data and produce meaningful, easy-to-plot chart data, which is served via http. |
…nt/relayer CLI approach and architecture (#14663)
…nt/relayer CLI approach and architecture (#14663)
…nt/relayer CLI approach and architecture (#14663)
This PR refactors eventindexer similarly to the relayer and taiko-client architectures, and adds a new subcommand,
generator
, which runs as a Cronjob to generate time-series chart data from the indexed database data.deployed to internal testnet already, working on blockscout-frontend to integrate changes into displayable time-series charts in next PR.
Missing some tests for new code, will also add in next PR or assign to Roger to get familiar with this repo.
time-series data indexed:
ACCOUNTS
PROPOSING
PROVING
TRANSACTIONS
BLOCKS
CONTRACTS
BRIDGE
This should be good enough for the first batch of charts, and we can add more later.
All charts are available via the format
https://eventindexer.*.taiko.xyz/chart/chartByTask?task=total-transactions&start=2023-08-07&end=2023-09-09