Write state diffs directly to Postgres #30

Merged
telackey merged 19 commits from statediff-into-postgres into statediff_at_anyblock-1.9.11 2020-11-11 16:26:25 +00:00

19 Commits

Author SHA1 Message Date
03ad33d6a8 delete vendor/ dir
unused
2020-11-06 00:58:54 +08:00
ddc84744ce fail before defer statement 2020-11-06 00:58:04 +08:00
566dcd3a1d fix and cleanup tests 2020-11-05 21:58:04 +08:00
6f3b27cd9c port tests to go testing
drop ginkgo/gomega
2020-11-05 21:57:47 +08:00
cd8ae90e9e use geth log 2020-11-05 19:25:34 +08:00
693b86370a logging 2020-10-30 13:43:16 +08:00
2b25daf46e [wip] update test mocks
todo - do something meaningful to test write loop
2020-10-28 14:38:24 +08:00
1984446ad2 statediff WriteLoop service + CLI flag 2020-10-28 14:38:24 +08:00
20dcefa703 tidy & DRY 2020-10-26 18:56:47 +08:00
cb1f0d517a cleanup 2020-10-24 22:33:51 +08:00
ebbce34667 [wip] prom.Init() here? another CLI flag? 2020-10-24 22:30:42 +08:00
b2fb91fb2a duplicate recent eth-indexer changes
migrations and metrics...
2020-10-24 22:29:21 +08:00
dc18a76e30 prometheus metrics output 2020-10-24 22:01:17 +08:00
619f147b4e output code & codehash iteratively
had to rf some types for this
2020-10-24 16:58:16 +08:00
9f973d5cbf cleanup 2020-10-24 14:32:09 +08:00
f4392d1009 rm unused 2020-10-24 14:30:48 +08:00
74a972f649 go.mod update 2020-10-23 22:04:43 +08:00
611c58665e rename PostgresCIDWriter.{index->upsert}*
less ambiguous
2020-10-23 22:04:34 +08:00
51d20540ff Implement WriteStateDiffAt
Writes state diffs directly to postgres

Adds CLI flags to configure PG

Refactors builder output with callbacks

Copies refactored postgres handling code from ipld-eth-indexer
2020-10-23 21:47:44 +08:00