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

feat: add /extended/v2/smart-contracts/status endpoint #1833

Merged
merged 8 commits into from
Jan 18, 2024

Conversation

rafaelcr
Copy link
Collaborator

Retrieves the deployment status of multiple smart contracts at once

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (0a42109) 71.72% compared to head (12275c0) 16.96%.
Report is 1 commits behind head on beta.

Files Patch % Lines
src/datastore/pg-store-v2.ts 0.00% 11 Missing and 1 partial ⚠️
src/api/routes/v2/helpers.ts 18.18% 9 Missing ⚠️
src/api/routes/v2/smart-contracts.ts 62.50% 5 Missing and 1 partial ⚠️
src/api/controllers/db-controller.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             beta    #1833       +/-   ##
===========================================
- Coverage   71.72%   16.96%   -54.76%     
===========================================
  Files          91       92        +1     
  Lines       11835    11881       +46     
  Branches     2622     2626        +4     
===========================================
- Hits         8489     2016     -6473     
- Misses       3193     9110     +5917     
- Partials      153      755      +602     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Jan 17, 2024

Vercel deployment URL: https://stacks-blockchain-r3n0ak6fb-blockstack.vercel.app 🚀

@rafaelcr rafaelcr requested a review from BLuEScioN January 17, 2024 23:40
Copy link
Member

@zone117x zone117x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rafaelcr rafaelcr merged commit 3535c11 into beta Jan 18, 2024
29 of 30 checks passed
@rafaelcr rafaelcr deleted the feat/batch-contracts branch January 18, 2024 17:23
blockstack-devops pushed a commit that referenced this pull request Jan 23, 2024
## [7.8.0](v7.7.2...v7.8.0) (2024-01-23)

### Features

* add `/extended/v2/smart-contracts/status` endpoint ([#1833](#1833)) ([3535c11](3535c11))
* run inserts in batch and in parallel when processing new block ([#1818](#1818)) ([86dfdb5](86dfdb5))
* upgrade to node 20, use bookworm-slim image ([#1832](#1832)) ([0a42109](0a42109))

### Bug Fixes

* change all HASH indexes to BTREE to optimize writes ([#1825](#1825)) ([234936b](234936b))
* log block event counts after processing ([#1820](#1820)) ([9c39743](9c39743)), closes [#1819](#1819) [#1819](#1819)
* optimize re-org queries and indexes ([#1821](#1821)) ([5505d35](5505d35))
* parallelize re-org update queries ([#1835](#1835)) ([340a304](340a304))
@blockstack-devops
Copy link

🎉 This PR is included in version 7.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make batch api endpoints. Eg, a batch endpoint for contract information
4 participants