-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[6] Implement dynamic contract registry as entity (#340)
* Implement entity history tables for each entity * Wip implement per table insert history item function with tests * Add entity history schema creator * Add eval function for inserting entity history * Fix spelling of variable * Move EntityHistory to its own file * Add EntityHistoryRowAction enum * Handle delete entities with enum flag * Use new entity history tables for saving entity history * Add serial to entity history * Make InMemomoryStore static * Move InMemomoryStore to static templates dir * Add new rollback diffing queries * Implement delete rolled back entity history * Implement multichain rollback filters * Implement unordered and ordered multichain versions of rollbacks * Make tests compile * Fix broken magic in memory table function * Fix double quoted dynamic table name in query * Add new test expectations * Refactor simpler in memory table entity history state * Fix diff and delete entity history functions * Fix tests * Fix inverted rollback check * Implement entity history pruning * Remove all code related to previous entity_history table * Remove union schemas for float and int * Fix tests * Implement dynamic contract registry as entity * Fix test to allow for duplicates in raw events table * Add back condition for validating evm contract address * Remove unused dynamic contract registry key
- Loading branch information
Showing
17 changed files
with
110 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.