-
Notifications
You must be signed in to change notification settings - Fork 0
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
Generate IPLD blocks table and related GQL API #260
Merged
Merged
Conversation
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
prathamesh0
force-pushed
the
pm-codegen-ipld
branch
from
October 5, 2021 11:03
730d6b4
to
af4c6d4
Compare
prathamesh0
force-pushed
the
pm-codegen-ipld
branch
from
October 6, 2021 13:06
45445d4
to
224f3ff
Compare
prathamesh0
force-pushed
the
pm-codegen-ipld
branch
from
October 7, 2021 06:39
4b61400
to
04ed305
Compare
* GQL API for getting last derived state * Rename query to getState * Change query names to getState and getStateByCid * Save BigInt as string
ashwinphatak
changed the title
WIP: Generate IPLD blocks table
WIP: Generate IPLD blocks table and related GQL API
Oct 7, 2021
prathamesh0
force-pushed
the
pm-codegen-ipld
branch
from
October 7, 2021 12:17
92981bf
to
40f72aa
Compare
prathamesh0
force-pushed
the
pm-codegen-ipld
branch
from
October 11, 2021 08:51
2cf5dca
to
591ca4d
Compare
prathamesh0
force-pushed
the
pm-codegen-ipld
branch
2 times, most recently
from
October 11, 2021 10:29
3ae7674
to
f374e93
Compare
prathamesh0
force-pushed
the
pm-codegen-ipld
branch
2 times, most recently
from
October 11, 2021 13:40
3dfad85
to
2364312
Compare
prathamesh0
force-pushed
the
pm-codegen-ipld
branch
from
October 12, 2021 02:43
2364312
to
afba86a
Compare
ashwinphatak
changed the title
WIP: Generate IPLD blocks table and related GQL API
Generate IPLD blocks table and related GQL API
Oct 12, 2021
prathamesh0
added a commit
that referenced
this pull request
Oct 21, 2021
* Add ipld-blocks entity generation * Populate ipld-blocks table * Rename ipld-block entity and update after each event * Move ipld-hook to hooks.ts * Change IPLD block structure * Add cid field in blocks * Fetch prev. IPLDBlock for a contract * GQL API to query IPLDBlock by CID * Save cid in blocks in existing watchers * Update codegen docs * GQL API for getting last derived state (#3) * GQL API for getting last derived state * Rename query to getState * Change query names to getState and getStateByCid * Save BigInt as string * Move function to prepare IPLDBlock to indexer * Refactor IPLDBlock hook * Add genesis hook * Call post-block hook after a block is marked as complete * Add IPLDBlock checkpointing * Use queryRunner instead of a new repo for queries * Add a query to get block in ipld-eth-client * Get latest checkpoints for all contracts for checkpointing. * Call post-block hook in a queue * Pass server config to Indexer in watch-contract cli Co-authored-by: nikugogoi <[email protected]>
prathamesh0
added a commit
that referenced
this pull request
Dec 6, 2021
* Add ipld-blocks entity generation * Populate ipld-blocks table * Rename ipld-block entity and update after each event * Move ipld-hook to hooks.ts * Change IPLD block structure * Add cid field in blocks * Fetch prev. IPLDBlock for a contract * GQL API to query IPLDBlock by CID * Save cid in blocks in existing watchers * Update codegen docs * GQL API for getting last derived state (#3) * GQL API for getting last derived state * Rename query to getState * Change query names to getState and getStateByCid * Save BigInt as string * Move function to prepare IPLDBlock to indexer * Refactor IPLDBlock hook * Add genesis hook * Call post-block hook after a block is marked as complete * Add IPLDBlock checkpointing * Use queryRunner instead of a new repo for queries * Add a query to get block in ipld-eth-client * Get latest checkpoints for all contracts for checkpointing. * Call post-block hook in a queue * Pass server config to Indexer in watch-contract cli Co-authored-by: nikugogoi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Part of cerc-io/watcher-ts#23
Implemented: