-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Schema
- Action/Event output:
ActionStatesin the schema here corresponds to the account state after all the transactions in a block is applied. is the assumption that the values inActionStatescorresponds to each set of actions per transaction?
Output types
- Remove
accountUpdateIdfromActionData. This refers to the database primary key. Consider replacing it with account ID and computed sequence number of the corresponding account update in the transaction - Similarly for
EventData. In fact, there are 2 more orderings from here- For each account update there is a list of actions/events and each action is an array of field elements. Refer to the ordering issue here (Issue)
Queries
- Nit:
blocksAccessedCTEis more likebocksFiltered - I'm not sure if the filtering in
emittedActionStateCTEmakes sense. When would one want to retrieve field elements within a certain range? afaiu you'd need the action state value from the DB to confirm the order of actions applied. Filtering based on account and block height seems sufficient. Also the current implementation here isn't seem right. The comparison is using primary key fieldfromActionState
Error handling
fullChainCTE: Add missing block checks. Any gaps will go unnoticed wherever this is used and affect the final result in unexpected ways
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels