1362c454fe
Pass relay node in bootstrap addresses in peer discovery
2022-12-28 11:44:17 +05:30
ebfa34cda5
Pass signaling server URL when running a relay node
2022-12-27 18:27:22 +05:30
fe781fb8f4
Add a script to setup a relay node
2022-12-27 12:10:17 +05:30
prathamesh0
e07e0de408
Add a chat CLI using peer package ( #280 )
...
* Add a flag to instantiate Peer for nodejs
* Add a basic chat CLI using peer
* Add a signal server arg to chat CLI
* Add instructions for chat CLI
2022-12-27 11:38:17 +05:30
0b2eb5f760
Add logs for events with details
2022-12-22 13:55:20 +05:30
a732706968
Add peer package readme
2022-12-22 13:54:12 +05:30
867802ec67
Add readme for running react app
2022-12-22 10:29:16 +05:30
b652d17ea9
Add serve package for react-app
2022-12-21 19:05:47 +05:30
055a0b920a
Refactor code in peer package
2022-12-21 18:16:38 +05:30
1e0fffc1f9
Maintain stream for each remote peer
2022-12-21 16:24:44 +05:30
d5a1f38db4
Add react app and use peer package for broadcasting
2022-12-21 14:31:32 +05:30
4856b8b43c
Implement peer connection and sending messages between peers
2022-12-20 22:29:53 +05:30
ee7383add6
Initial implementation of class and discoving other peers
2022-12-20 18:17:59 +05:30
9566dff466
Fix job-runner to process missing parent block ( #274 )
...
* Fix job-runner to process missing parent block
* Upgrade package versions to 0.2.18
2022-12-13 11:59:55 +05:30
cc66f44bab
Use assemblyscript from gitea packages ( #272 )
...
* Use assemblyscript from gitea packages
* Add back github registry for vulcanize/graph-ts
* Use cerc-io scoped assemblyscript package
2022-12-07 15:13:41 +05:30
d0ac2aa895
Add script to set package versions in codegen ( #270 )
2022-11-29 14:52:39 +05:30
c5908c4c0e
Upgrade package versions to 0.2.17 ( #269 )
2022-11-28 19:10:36 +05:30
prathamesh0
847837c2fb
Add a demo for erc20-watcher ( #268 )
...
* Fix event subscription in erc20-watcher
* Add demo for erc20-watcher
* Update README
2022-11-28 18:54:09 +05:30
c299737aab
Add demo for graph-test-watcher
( #267 )
...
* Add demo for graph-test-watcher
* Remove stack-orchestrator from demos
2022-11-28 16:35:19 +05:30
05bfd57278
Add isPruned flag to erc721-watcher custom transferCount entity ( #266 )
...
* Remove block number param from job-queue reset CLI in readme
* Add isPruned flag to erc721-watcher custom transferCount entity
2022-11-28 14:14:02 +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
prathamesh0
2417e3feb1
Fix linter warnings and dependencies ( #264 )
...
* Fix minor linting errors
* Fix CLI getters linting errors
* Fix resolvers template in codegen
* Fix dependencies
2022-11-25 20:03:58 +05:30
prathamesh0
94c8ed9575
Move event watcher to util ( #262 )
2022-11-25 17:19:37 +05:30
e47aab2ed7
Upgrade package versions to 0.2.16 ( #263 )
2022-11-25 16:09:35 +05:30
b66dcb4af9
Refactor graph-node database and move to util ( #259 )
...
* Move graph-database from graph-node to util
* Refactor and remove graph-node dependency from cli package
* Modify dependencies using depcheck
* Implement CLI refactoring changes in other watchers
* Review changes to remove eden comment and fix local import in util
* Import GraphDatabase from util instead of graph-node
* Move graph-node non assemblyscript code to util package
* Implement CLI refactoring changes in codegen
* Fix graph-node tests after refactoring
* Move fromStateEntityValues to graph state utils
2022-11-25 15:54:35 +05:30
prathamesh0
63a2c5804e
Accommodate CLI refactoring changes to codegen ( #261 )
...
* Use watch-contract CLI from cli package in codegen
* Use reset CLIs from cli package in codegen
* Use create checkpoint CLI from cli package in codegen
* Use inspect-cid CLI from cli package in codegen
* Use import state CLI from cli package in codegen
* Use export-state and verify-checkpoint CLI from cli package in codegen
* Use server CLI from cli package in codegen
* Use job-runner CLI from cli package in codegen
* Use index-block CLI from cli package in codegen
* Use fill CLI from cli package in codegen
* Minor codegen fixes
* Update watcher instructions to run job-runner before server
2022-11-25 11:31:20 +05:30
prathamesh0
590482ee53
Merge watcher job-runner into base job-runner ( #260 )
2022-11-24 16:26:40 +05:30
prathamesh0
aba0c665f3
Refactor fill and fill-state CLIs to cli package ( #257 )
...
* Refactor fill CLI to cli package
* Refactor method to fill-state to graph-node
* Refactor fill-state CLI to cli package
* Move subgraph state utils to a separate file
* Refactor subgraph state helper methods to graph-node
* Update mock indexer
* Move watcher job-runner to util
* Remove mock server and data from erc20-watcher
* Import watcher job-runner from util
2022-11-24 15:28:38 +05:30
prathamesh0
7717601408
Refactor index-block CLI to cli package ( #258 )
2022-11-23 20:02:24 +05:30
b08fcebe54
Upgrade package versions ( #256 )
2022-11-23 18:23:26 +05:30
prathamesh0
4bfb007a7e
Refactor job-runner CLI to cli package ( #255 )
...
* Fix eden-watcher server initialization
* Add an indexer method to watch subgraph contracts
* Refactor job-runner CLI to cli package
* Move watcher reset commands to refactored code
2022-11-23 18:20:16 +05:30
cc28474537
Accommodate GQL optimizations in codegen ( #254 )
...
* Prune optional methods in indexer and database interfaces
* Implement GQL optimization changes in codegen
* Fix graph-node test indexer
* Add demos to codegen package
2022-11-23 17:42:25 +05:30
prathamesh0
0b33cc98c9
Refactor server CLI to cli package ( #253 )
...
* Refactor server CLI to cli package
* Use server CLI from cli package in all watchers
2022-11-23 12:57:59 +05:30
prathamesh0
122a64c2f9
Refactor export-state and verify checkpoint CLIs to cli package ( #252 )
...
* Refactor export-state CLI to cli package
* Refactor verify checkpoint CLI to cli package
* Update mock indexer object
2022-11-22 18:27:49 +05:30
ace52d9da3
Add GQL metrics to ERC20 and ERC721 watchers ( #251 )
...
* Add changes in erc20-watcher
* Add changes in erc721-watcher
* Add changes in mobymask-watcher
* Add reset state CLI to all watchers
2022-11-22 17:04:38 +05:30
prathamesh0
6737ec756c
Refactor import-state CLI to cli package ( #250 )
...
* Remove unnecessary upstream config arg to event watcher
* Initialize event watcher in CLI package
* Refactor import-state CLI to cli package
2022-11-22 16:41:15 +05:30
6622d0874e
Accommodate GQL optimizations in graph-test-watcher ( #249 )
...
* Use separate subgraph entities list
* Implement changes in graph-test-watcher
* Reset latest entity tables and use cache directives in schema GQL
2022-11-22 15:20:44 +05:30
prathamesh0
570640d4bc
Refactor inspect-cid CLI to cli package ( #248 )
2022-11-22 11:45:45 +05:30
prathamesh0
03050e5323
Refactor create checkpoint CLI to cli package ( #247 )
...
* Refactor create checkpoint CLI to cli package
* Update mock indexer
2022-11-22 10:38:23 +05:30
06e5c62fa8
Remove saveBlockAndFetchEvents
method callback pattern ( #244 )
...
* Remove saveBlockAndFetchEvents method callback pattern
* Accomodate change in code generator
Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2022-11-21 15:54:28 +04:00
prathamesh0
1e639c1af3
Refactor reset CLIs to cli package ( #246 )
...
* Refactor reset CLIs to cli package
* Use reset CLIs from cli package in watchers
* Fix method to canonicalize latest entities
* Use composition with common code for refactored CLIs
2022-11-21 15:14:10 +04:00
prathamesh0
7520e9012c
Refactor watch-contract CLI to cli package ( #245 )
...
* Refactor watch-contract CLI to cli package
* Use watch-contract from cli in eden and erc721 watchers
* Use watch-contract from cli in all watchers
* Pass an object containing clients to refactored CLI
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2022-11-21 11:47:23 +04:00
a0ba657d17
Rename variables and fix comments ( #243 )
...
* Rename entity to entityType
* Rename variables and fix comments
2022-11-18 19:16:42 +05:30
662c79a5e7
Refactor event-watcher and move code to util ( #242 )
2022-11-18 17:23:33 +05:30
prathamesh0
f3c65cbd64
Refactor util code to be reused ( #241 )
...
* Ignore watch contract jobs in event processing complete handler
* Update job-queue config and handle errors on job completion hook
* Update graph decimal implementation
* Return generic type from method to read watcher config
* Export fill prefetch batch size default value
2022-11-18 16:29:06 +05:30
cc8fcffaa1
Fix use of prefetchBlocksInMem flag in block processing ( #240 )
...
* Fix use of prefetchBlocksInMem flag in block processing
* Rename prefetchedBlocksMap to blockAndEventsMap
2022-11-18 11:01:09 +05:30
prathamesh0
92fd3cac03
Upgrade client libraries ( #239 )
2022-11-17 19:06:07 +05:30
635b26aa0c
Use entity is_pruned flag in queries ( #238 )
2022-11-17 13:55:53 +05:30
prathamesh0
f53371e17b
Accomodate GQL requests caching in code generator ( #237 )
...
* Accomodate GQL requests caching in code generator
* Add GQL API request queuing
2022-11-17 12:02:08 +05:30
79e903b396
Reset latest and frothy entity tables on watcher reset ( #236 )
2022-11-17 10:14:59 +05:30