Skip to content

feat: add per-address storage tracking#165

Draft
weiihann wants to merge 3 commits intoethpandaops:masterfrom
weiihann:feat/per-address
Draft

feat: add per-address storage tracking#165
weiihann wants to merge 3 commits intoethpandaops:masterfrom
weiihann:feat/per-address

Conversation

@weiihann
Copy link
Contributor

Summary of what's needed:

  1. Total count/storage size of each address
  2. Total cumulative expired count/storage size and count/storage size after 6 months of expiry applied of each address
  3. Total cumulative expired count/storage size and count/storage size after 1 year of expiry applied of each address
  4. Top 10 addresses by storage size
  5. Top 10 addresses by cumulative expired storage size

In my implementation, I split the cumulative columns (i.e. active_slots and effective_bytes) into separate tables because I couldn't find a query that's efficient for cumulating previous state.

I'm sure there are better ways of doing the queries. Thank you in advance ☺️

add fct_storage_slot_state_by_address

fix versioning

separate the cumulative from the delta per address

unfinished: per address for expiry ones

fix expiry state
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

Successfully merging this pull request may close these issues.

1 participant