26 Commits
Author SHA1 Message Date
prathamesh0 787991c432 Add a basic test to demonstrate a p2p connection (#336)
* Add a test to demonstrate a p2p connection

* Use debug for logs

* Perform peer intialization in a separate test
2023-03-09 17:36:27 +05:30
nabarun d0ac2aa895 Add script to set package versions in codegen (#270) 2022-11-29 14:52:39 +05:30
prathamesh0 bd8f003322 Gracefully shutdown server (#265)
* Gracefully shutdown server

* Forbid lint warnings

* Avoid setting subgraph path in template contex in codegen
2022-11-28 12:01:28 +05:30
nabarun e47aab2ed7 Upgrade package versions to 0.2.16 (#263) 2022-11-25 16:09:35 +05:30
nabarun b08fcebe54 Upgrade package versions (#256) 2022-11-23 18:23:26 +05:30
nabarun ce182bce85 Clear cache of latest entities on event processing error (#201)
* Clear cache of latest entities on event processing error

* Remove lighthouse-watcher and update ethersjs version

* Handle GraphDecimal type in state entity

* Add option for comparing all entities using paginate

* Clear pruned cached entities at intervals

* Move ipld-demo to graph-node package and remove reset-dbs script

* Implement changes in all watchers and codegen
2022-10-19 14:26:10 +05:30
nabarun e1aef1a7e9 Changes to use packages in uniswap-watcher (#196)
* Changes to use util from uniswap-watcher

* Refactor ResultIPLDBlock to util

* Verify state in compare CLI for uniswap multiple queries

* Prepare watcher-ts for publishing packages

* Fix verify state in compare CLI for multiple entities query

* Fix codegen util imports
2022-10-11 13:41:26 +05:30
nabarun f3230e3822 Change package name prefixes to cerc-io (#177) 2022-09-09 17:13:01 +05:30
prathamesh0 80682e2755 Remove Uniswap watchers and related artifacts (#163)
* Remove Uniswap watchers and related code

* Remove Uniswap artifacts from graph-node

* Remove Uniswap artifacts from graph-test-watcher
2022-08-17 14:04:20 +05:30
nabarun ba6b996e65 Deploy example contract in graph-node (#113)
* Deploy example contract in graph-node

* Add auth token in docker build for github packages

* Add steps for running tests in CI
2022-04-29 15:11:40 +05:30
Ashwin Phatak 889e96572d Host API stubs (#12) 2021-12-28 16:08:04 +05:30
Ashwin Phatakandnabarun c973f3b343 Add husky for setting lint in commit hook. (#248)
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-09-20 16:25:54 +05:30
06bed1c13b Enable source maps for transpiled files (#242)
* Rename .spec files to .test files.

* Enable source maps.

* Pass enable-source-maps flag for transpiled files.

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
Co-authored-by: prathamesh <prathamesh.musale0@gmail.com>
2021-09-07 16:01:15 +05:30
Ashwin Phatakandnabarun 2d493b3838 Run services from transpiled ES5 (#239)
* Transpile ES5 code.

* Use transpiled ES5 code in all packages.

* Refactor tracing-client to transpile ES5 code.

* Order scripts in package json.

* Update readme in packages with new scripts.

* Refactor code to use entity config programatically.

* Remove unused depencdencies.

* Use DEBUG environment for scripts.

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-09-02 10:27:56 +05:30
Ashwin Phatakandprathamesh a7ec3d8da8 Add APGL license and copyright notices (#212)
* Add license & copyright declarations for add-watcher.

* Add copyright declarations for cache.

* Add copyright declarations for erc20-watcher.

* Add copyright declarations for ipld-eth-client.

* Add copyright declarations for tracing-client.

* Add copyright declarations for uni-watcher.

* Add copyright declarations for solidity-mapper.

* Add copyright declarations for uni-info-watcher.

* Add copyright declarations for util.

* Add copyright declarations for lighthouse-watcher.

* Change license identifier in .sol files.

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2021-08-12 15:28:13 +05:30
Ashwin Phatakandprathamesh 1cbd70e57c Add script to reset the databases. (#211)
Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2021-08-12 14:54:31 +05:30
Ashwin Phatakandprathamesh 6c05600b41 Test for entities after IncreaseLiquidityEvent. (#198)
Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2021-08-10 15:53:59 +05:30
Ashwin Phatak 8507bc8b9c Address watcher package scaffolding (#75)
* Rename erc20 watcher folder.

* Update repo URLs.

* Address watcher package scaffolding.
2021-06-17 17:56:38 +05:30
Ashwin Phatakandnikugogoi fc44617db3 Use solidity mapper to get value for mapping and nested mapping (balance and allowance) (#48)
* Implement getting value for basic mapping type.

* Add test for basic mapping type.

* Implement getting value for nested mapping type.

Co-authored-by: nikugogoi <95nikass@gmail.com>
2021-06-09 10:18:19 +05:30
nikugogoi c3d1737ee1 Setup lerna to run scripts across packages. 2021-06-08 12:49:00 +05:30
nikugogoi 8d697ab9d1 Check and remove unused dependecies. 2021-06-07 11:42:03 +05:30
Ashwin Phatak 95eb1ac0d1 Data driven tests for GQL endpoints. 2021-05-13 19:20:43 +05:30
Ashwin Phatak c84b481385 Move server to yarn workspace package. 2021-05-13 16:06:38 +05:30
Ashwin Phatak 7133b3ab86 Schema, mock data and resolvers. 2021-05-11 16:39:32 +05:30
Ashwin Phatak 2b4e1ba315 Basic GQL server with mock data. 2021-05-11 16:39:32 +05:30
Ashwin Phatak 1562af9c05 Basic typescript project. 2021-05-11 16:39:32 +05:30