forked from availproject/avail-light
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new database trait with new data manager * using new data manager in app client * removing unused functions * data manager uses more tightly defined database * changed generic type * using new function from data manager to store app data * trying implementation without generics * wrapping errors * using new data manager functions in sync client * added fns for handling confidence data * sync client completely uses new data manager * light client uses new data manager * added new functions for sync checkpoint storage * sync finality uses new data manager * renamed generics * using data manager for subscriptions * fat client uses data manager * properly initializing rpc with data manager * data manager is used in v1 api handlers * using data manager in v2 api handlers * v2 routes are using new data manager * mocking for unit tests with data manager * v1 routes are capable of using data manager * fixed references and unused params * fixed lifetime * renamed generics and methods * fixed dropped binding * removed unused code * api compat tests now use data manager * initializing data manager and passing it where needed * clippy fix * Add alternative database implementation into db mod. * partially solved trait bounds * Fix trait bounds in build. * Specialize DB trait to use Key enum. * Switch to serde instead of custom decode/encode. * Use scale for rocks DB, remove obsolete modules. * light client implemented with new db trait * properly interfaced finality client to use new db * added new boundary * renames * enabled mocks and tests * re-enabled unit tests * moved rocks keys into same mod * mocking client for unit tests * new instantiation for reworked clients * Fix clippy warnings. * Remove DB mocking from light_client. * Remove DB mocking from fat client. * Remove generics from handlers. * using db implementation directly * renamed key * key left out * lock update * import fix --------- Co-authored-by: Aleksandar Terentić <[email protected]>
- Loading branch information
1 parent
27a6773
commit 0c9a5a7
Showing
20 changed files
with
1,044 additions
and
931 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.