Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: optimize read queries by keeping count tables, implement rollbacks #214

Merged
merged 13 commits into from
Sep 10, 2023

test: ignore tickers less than 4 bytes wide

1109c6a
Select commit
Loading
Failed to load commit list.
Merged

fix: optimize read queries by keeping count tables, implement rollbacks #214

test: ignore tickers less than 4 bytes wide
1109c6a
Select commit
Loading
Failed to load commit list.
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 is 100.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

... and 2 files with indirect coverage changes