Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 * Fix mocha fail binding * Add depenency injection for testing history functions * Add rollback diff tests * Strip undefined fields from entity history delete parser * Add tests for deleting rolled back history * Fix prune entity history function add tests * Remove commented code
- Loading branch information