Skip to content
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

Sync 20221117 #14

Merged
merged 50 commits into from
Nov 17, 2022
Merged

Sync 20221117 #14

merged 50 commits into from
Nov 17, 2022

Conversation

stwiname
Copy link

No description provided.

hariu-starfish and others added 30 commits October 28, 2022 13:59
Co-authored-by: Orion <orion@starfish.finance>
* Draft

* update changes

* rebase changes

* fix

* fix (subquery#1329)

* disable best blocks for workers until we support it

* Rename bestBlock to unfinalizedBlocks, other clean up

* Clean up

* Further clean up

* Dedupe reindex function

* Fix tests

* Clean up

* Update checking finalization to use parent hash

* Rename logger

* Refactor unfinalized blocks

* Use header rather than full block, improve detecting forks

* Verify unfinalized blocks when disabled.

Use sorted array for storing unfinalized blocks

* Clean up logs

* Fix not indexing unfinalized blocks right away, exit if historical not enabled

Co-authored-by: Scott Twiname <skott.twiname@gmail.com>
* Fix bugs with unfinalized blocks

- Fix using wrong hash for unfinalized blocks
- Fix not removing unfinalized blocks when the latest unfinalized block < finalized

* Fix tests getting stuck

* Fix issue finding where fork occurred
* update tests: api.service.spec, init-controller.test, publish-controller.spec

* update tests following comments
* wip

* wip

* wip

* broken wip

* wip refactoring

* seperate dictionaryQueryEntries

* fix logic for setDicitonaryQueryEntries

* cleaning up

* move dictionaryEntry.ts to node-core

* remove comments

* create class for dictionaryqueryentries

* update tests

* move dictionaryQueryService into dicitonaryService

* refactor

* update logic for useDicitonary

* relocated dictionaryQuery funcs

* add test for dictquerymap

* tests failing on windows?

* test getDictionaryQueryEntries

* test fixed for getDictioanryQueryEntries

* added test for sorting

* conflict fixed ?

* fix conflict_2

* fix conflict_3

* add delete temp ds records back

* clean up with new logic

* clean up, add comments for test

* fix

* update logic

* add generic type
* refactor: enable for entity inheritance

* refactor: include also filed getters
* fix comments issue with new package

* moved yaml package
…y#1382)

* fix logic with reindex and unfinalized height

* fix

* include fix for subquery#1379
* remove migrate alter table

* remove
* add retryOnFail function

* add retryOnFail

* add test, fix logic
bz888 and others added 20 commits November 9, 2022 16:03
* Fix tests hanging

* Update base docker image with newer git version
* Add distinct query plugin

* Clean up log

* Fix distinct not being provided to query

* Uppercase enum to be consistent with other enums

* Update dictionary queries to try distinct argument
* fix missing update forked graphile dependencies

* tidy up

* tidy up
* implement trigger with notification

* working prior clean up

* refactor and clean up on async and await

* clean up

* clear comments

* add filter

* fix

* fix err
* [release] 20221115

* [release] 20221115

* [release] 20221115
* fix and refactor

* refactor getTriggers
* [release] 20221115

* [release] 20221115
@stwiname stwiname merged commit 8c90c8b into main Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants