Commit Graph

13 Commits

Author SHA1 Message Date
Abdul Rabbani
d7ad4108a7 Code clean up + Beacon Chain Connection
This concludes all the code needed to connect to the DB and beacon node. We will no longer reference the lighthouse client because this application should work interchangeably with any beacon node.

I have also standardized logging.
2022-04-20 18:12:44 -04:00
Abdul Rabbani
827475f029 Add DB Connection and Logging
* Utilize LogRus
* Create a DB connection using PGX.
* Create an internal boot package for starting the application.
2022-04-20 15:44:15 -04:00
Abdul Rabbani
d0d4f2498e Put PGX and other future Postgres Drivers behind SQL package
This PR makes allows users to provide a config, along with a driver string. It will then provide the respective driver.
2022-04-20 13:06:00 -04:00
Abdul Rabbani
ed3d0be2b7 A very generic package for implementing PGX driver
I copied most of the code from the `statediff` service from within geth. The idea is that I can create formal DB packages, that can be utilized in other projects down the road.
2022-04-20 12:12:55 -04:00
Abdul Rabbani
42923d15c1 Update cobra to require head or historic when using capture. 2022-04-20 09:25:47 -04:00
Abdul Rabbani
055b81e879 Merge branch 'develop' of github.com:vulcanize/ipld-ethcl-indexer into develop 2022-04-19 17:48:37 -04:00
Abdul Rabbani
064e0da18a Update Templates 2022-04-19 17:48:33 -04:00
Abdul Rabbani
2c8d9f6a61
Merge pull request #2 from vulcanize/feature/add-cobra
Feature/add cobra
2022-04-19 17:36:16 -04:00
Abdul Rabbani
5671f09ed9 Merge branch 'develop' into feature/add-cobra 2022-04-19 17:12:42 -04:00
Abdul Rabbani
27756e8d47
Merge pull request #1 from vulcanize/github-templates
Update issue templates
2022-04-19 17:12:13 -04:00
Abdul Rabbani
a491f8093b
Update issue templates 2022-04-19 17:11:51 -04:00
Abdul Rabbani
daf99c7279 Utilize Cobra 2022-04-19 17:09:59 -04:00
Abdul Rabbani
78b7345655
Initial commit 2022-04-19 14:42:32 -04:00