go-ethereum/statediff/indexer/database/sql/postgres
Abdul Rabbani 921538ba64 Function To Add entry to known_gaps
This commit contains all the code needed to update the `known_gaps` table. It uses a generic function `PushKnownGaps` to insert gaps to the database.

The current test is very "basic." All it does it insert a dummy gap into the database. As long as their is no error it will return succesfully.

I have also removed the foundry subfolder. I am using the `related-repository` setup for testing.
2022-03-21 16:28:13 -04:00
..
config.go Statediffing geth 2022-02-16 14:40:08 -06:00
database.go Function To Add entry to known_gaps 2022-03-21 16:28:13 -04:00
errors.go Statediffing geth 2022-02-16 14:40:08 -06:00
pgx_test.go Statediffing geth 2022-02-16 14:40:08 -06:00
pgx.go Statediffing geth 2022-02-16 14:40:08 -06:00
postgres_suite_test.go Statediffing geth 2022-02-16 14:40:08 -06:00
sqlx_test.go Statediffing geth 2022-02-16 14:40:08 -06:00
sqlx.go Statediffing geth 2022-02-16 14:40:08 -06:00
test_helpers.go Statediffing geth 2022-02-16 14:40:08 -06:00