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

Rebase with main SDK #109

Merged
merged 98 commits into from
Apr 26, 2023
Merged

Rebase with main SDK #109

merged 98 commits into from
Apr 26, 2023

Conversation

guplersaxanoid
Copy link
Contributor

Description

Rebase with main SDK

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have tested locally
  • I have performed a self review of my changes
  • Updated any relevant documentation
  • Linked to any relevant issues
  • I have added tests relevant to my changes
  • Any dependent changes have been merged and published in downstream modules
  • My code is up to date with the base branch

jiqiang90 and others added 30 commits March 3, 2023 12:37
* need fix query get enum

* fix enum query, clean all enums

* add logic to handle original enum type
* deprecate exclude contraint

* remove unused
* increase wsProvider timeout

* remove .mmr dir
* add SmartBatchService and BlockSizeBuffer

* check memory usage before fetching a batch

* use v8 heap usage statistics

* set block to null after indexing

* extend smart batch service to workers

* make smart batch size injectible

* rebase

* bug fixes

* code cleanup

* assign workers based on free memory

* fix liniting

* cleanup code

* cleanup logs

* clear blocksizebuffer inside smartbatchservice

---------

Co-authored-by: Scott Twiname <[email protected]>
guplersaxanoid and others added 28 commits April 20, 2023 13:56
* implement runTest

* check handler kind for running test

* implement testing service

* run tests in sandbox

* build test files through subql build

* run handlers in sandbox

* cleanup sandbox script and improve logging

* index data with `IndexerManager.indexData`

* use indexBlock() instead of indexData() for tests

* add getter _name to entities during codegen

* code cleanup

* improve logging

* improve logging

* bug fixes

* code cleanup

* improve logging

* indexBlock: get datasource from arguments

* move testingService to node-core

* code cleanup

* update ci

* code cleanup

* cleanup

* cleanup

* cleanup

* handle 0 test cases
* prevent calling getGqlType for 'contains' matcher

* get gqlType with ternary condition
* remove indexer module from testing module

* cleanup

* cleanup
* WIP enable strict ts setting for node core

* fix undefined in historicalMarkPreviousHeightRecordsBatch

* typo

* Update typescript, fix most strict related errors

* Strict changes for testing framework

* Runtime fixes

* change log level on cache poi

---------

Co-authored-by: JQQQ <[email protected]>
* release-2.0.0

* update

* update node changelog

* remove typescript from query dependency

* remove typescript from node dependency
* Fix ApiService abstract class, improve getting all DS

* Revert api import and minor test fixes
@stwiname stwiname merged commit 503d744 into main Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants