fix: optimize read queries by keeping count tables, implement rollbacks #214
Codecov / codecov/project
succeeded
Sep 10, 2023 in 0s
94.99% (+0.40%) compared to 1c9b0f4
View this Pull Request on Codecov
94.99% (+0.40%) compared to 1c9b0f4
Details
Codecov Report
Merging #214 (1109c6a) into brc-20 (1c9b0f4) will increase coverage by
0.40%
.
Report is 3 commits behind head on brc-20.
The diff coverage is100.00%
.
@@ Coverage Diff @@
## brc-20 #214 +/- ##
==========================================
+ Coverage 94.58% 94.99% +0.40%
==========================================
Files 51 55 +4
Lines 5358 5773 +415
Branches 464 500 +36
==========================================
+ Hits 5068 5484 +416
+ Misses 287 286 -1
Partials 3 3
Files Changed | Coverage Δ | |
---|---|---|
migrations/1694021174916_brc20-total-balances.ts | 100.00% <100.00%> (ø) |
|
...grations/1694081119000_brc20-counts-by-tx-count.ts | 100.00% <100.00%> (ø) |
|
migrations/1694295793981_brc20-event-counts.ts | 100.00% <100.00%> (ø) |
|
migrations/1694299763914_brc20-token-count.ts | 100.00% <100.00%> (ø) |
|
src/api/routes/brc20.ts | 100.00% <100.00%> (+0.43%) |
⬆️ |
src/api/schemas.ts | 100.00% <100.00%> (ø) |
|
src/api/util/helpers.ts | 97.52% <100.00%> (+0.01%) |
⬆️ |
src/pg/brc20/brc20-pg-store.ts | 100.00% <100.00%> (ø) |
|
src/pg/brc20/helpers.ts | 100.00% <100.00%> (ø) |
|
src/pg/brc20/types.ts | 100.00% <100.00%> (ø) |
|
... and 3 more |
Loading