full_sync and light_sync receipt tables and light receipt repository methods and test
This commit is contained in:
@@ -243,7 +243,10 @@ func TearDown(db *postgres.DB) {
|
||||
_, err = tx.Exec("DELETE FROM light_sync_transactions")
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
_, err = tx.Exec(`DELETE FROM receipts`)
|
||||
_, err = tx.Exec(`DELETE FROM full_sync_receipts`)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
_, err = tx.Exec(`DELETE FROM light_sync_receipts`)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
_, err = tx.Exec(`DROP TABLE checked_headers`)
|
||||
|
||||
Reference in New Issue
Block a user