Update code for log_cids change in vdb core (#243)

* Remove fields no longer present in schema.

* Refactor code to work with log_cids change in eth-server.

* Refactor process event to save events from logs.

* Use constants for erc20 event names.

* Implement watch blocks in erc20-watcher similar to uni-watcher.

* Moved common methods to util.

* Implement eventsInRange query in erc20-watcher.

* Filter unknown event in database query.

* Change dependencies version to be same in all packages.

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
Ashwin Phatak
2021-09-21 16:43:55 +05:30
committed by GitHub
co-authored by nabarun
parent 0a96bbd94d
commit 4f8f1d8cd7
39 changed files with 1171 additions and 569 deletions
+1
View File
@@ -17,6 +17,7 @@ then
createdb uni-watcher
createdb uni-info-watcher
psql -d erc20-watcher-job-queue -c "delete from pgboss.job;"
psql -d address-watcher-job-queue -c "delete from pgboss.job;"
psql -d uni-watcher-job-queue -c "delete from pgboss.job;"
psql -d uni-info-watcher-job-queue -c "delete from pgboss.job;"