-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring: change ORM, testing and migrate to timescale (#995)
* Change ORM to Bun * Add storage tests * Refactoring: rollback * Refactoring: saving block and migrations * Remove Save function from model interface * Refactoring: protocol migrations * Tests: protocol migration postgres functions * Fix: rollback * Fix: rollback protocol * Refactoring: saving accounts * Refactoring: Contract.tx_count -> Account.operations_count * Timescale * Feature: add stats model * Extend stats * Refactoring: remove unused functions * Refactoring: operations API * Account statistics * Feature: add ticket model * Feature: add ticket balances * Fix: create extension once * Fix: change varchar to text * Fix: register models * Fix: register m2m models * Fix: smart rollup count * Fix: save big map states * Feature: add ticket balance endpoint * Fix: content type for ticket balance * Fix: response in ticket balances * Fix: rollback test * Remove concurrent index creation * Fix: one ticket to all updates * Fix: ticket hash * Fix: tests * Fix: index creation * Fix and optimize babylon migration * Fix and optimize babylon migration * Remove bmd repo from babylon migration * Change test data for babylon migration test * Fix: tx_rollup_origination * Fix: recently called contracts endpoint * Fix: operations count for account * Fix: parsing node error * Fix: smart rollup accounts counting * Fix: failed originations * Fix: saving origination accounts * Fix: same API * Disable oxfordnet * Upgrade to go1.21 * Add fromatter tests for new primitives * Cache scripts * Create contract indexes * Add codeql * Add codeql * Remove codeql * Linter update and some API improvements * Fix: linter job * Refactoring: logger * Fix: recently called contracts * Fix: global constants per network API * Fix: add gin gonic timeout * Fix: post-creating index concurrently * Fix: increase timeout * Add log * Fix: gin timeout * Fix: add GetContractTickets endpoint * Optimization of GetLastAction query * Fix: global constants query * Fix: last action in same API * Optimize last query * Fix: sanbox tagging * Fix: errors scan * Fix: errors * Add filters to ticket updates endpoints * Add ticket_id to ticket updates response
- Loading branch information
1 parent
d282d8d
commit 0575724
Showing
258 changed files
with
25,349 additions
and
5,659 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
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.