-
Notifications
You must be signed in to change notification settings - Fork 16
Integrate ENSDb SDK into ENSIndexer #1798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
2e5c6a6
Move `ensdb` module contents from ENSNode SDK to ENSDb SDK
tk-o d3329fd
Add `EnsNodeDbMigrations` interface to ENSDb SDK
tk-o a844af0
Introduce ENSDb Reader
tk-o 316fe67
Introduce ENSDb Writer
tk-o 90ff103
Setup exports fro ENSDb client module
tk-o 72e1f9b
Replace ENSDb Client implementation in ENSIndexer
tk-o 2df0ab2
Make ENSIndexer to execute ENSNode Schema migrations in ENSDb
tk-o 8357285
Update tests for ENSDb Writer Worker
tk-o b66c443
docs(changeset): Moved `ensdb` module from ENSNode SDK into ENSDb SDK.
tk-o 187a3b5
docs(changeset): Introduced two client implementations for ENSDb: `En…
tk-o bcc1784
docs(changeset): Replaced a bespoke `EnsDbClient` implementation with…
tk-o 6c82714
docs(changeset): Added running database migrations for ENSDb as a res…
tk-o 8edabdd
Code cleanup
tk-o 24f2d1b
Introduce testing suite to ENSDb SDK
tk-o 45eea13
Merge remote-tracking branch 'origin/main' into feat/integrate-ensdb-…
tk-o 4b20c50
Fix typo
tk-o 4e216f4
Apply AI PR feedback
tk-o 3b3882b
Merge remote-tracking branch 'origin/main' into feat/integrate-ensdb-…
tk-o 83cf6cf
Apply suggestions from code review
tk-o f03192e
Apply PR feedback
tk-o f0c7f1f
Improve layers of responsibility in ENSDb Drizzle Client file
tk-o 54301fc
Improve layers of responsibility in ENSDb SDK clients
tk-o a3dbb6b
Update testing suite for ENSDb SDK
tk-o 9eeb935
Update docs in `ponder.schema.ts` file
tk-o 0534ef3
Update packages/ensdb-sdk/src/client/ensdb-reader.test.ts
tk-o 132eca8
Rename `ensindexer` file to `ensindexer-abstract` in ENSDb SDK
tk-o e527292
Improve the method for cloning drizzle table objects
tk-o 121efd5
Allow using individual ENSDb Schema defintions for Drizzle querires
tk-o 6145e50
Update test files
tk-o d5f7c3f
Handle database migrations execution failure
tk-o c5397bc
Rename `ensDbWriter` consts to `ensDbClient`
tk-o 5ac0060
Make usage of ENSIndexer Schema explicitly "concrete"
tk-o 593cbb8
Make `drizzle` module abstractions from ENSDb SDK not to be shared pu…
tk-o ba48daa
Make `EnsDbReader` constructor to build Drizzle client
tk-o 0adcd14
Update test files
tk-o 219b7bd
fix npm audit issues
tk-o File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "ensindexer": minor | ||
| --- | ||
|
|
||
| Replaced a bespoke `EnsDbClient` implementation with `EnsDbWriter` from ENSDb SDK. |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "ensindexer": minor | ||
| --- | ||
|
|
||
| Added running database migrations for ENSDb as a responsibility for ENSIndexer. |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "@ensnode/ensnode-sdk": minor | ||
| "@ensnode/ensdb-sdk": minor | ||
| --- | ||
|
|
||
| Moved `ensdb` module from ENSNode SDK into ENSDb SDK. | ||
|
coderabbitai[bot] marked this conversation as resolved.
tk-o marked this conversation as resolved.
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@ensnode/ensdb-sdk": minor | ||
| --- | ||
|
|
||
| Introduced two client implementations for ENSDb: `EnsDbReader` and `EnsDbWriter`. |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,6 @@ | ||
| // export database schema definition for ENSIndexer | ||
| export * from "@ensnode/ensdb-sdk/ensindexer"; | ||
| /** | ||
| * We re-export (just) the "abstract" ENSIndexer Schema from ENSDb for Ponder to manage. | ||
| * Ponder will internally build a "concrete" ENSIndexer Schema using | ||
| * the "abstract" ENSIndexer Schema and the ENSIndexer Schema name. | ||
| **/ | ||
| export * from "@ensnode/ensdb-sdk/ensindexer-abstract"; |
This file contains hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
207 changes: 0 additions & 207 deletions
207
apps/ensindexer/src/lib/ensdb-client/ensdb-client.test.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.