hirosystems / stacks-devnet-api

The Stacks Devnet API runs a server that can be used to deploy, delete, manage, and make requests to Stacks Devnets run on Kubernetes.
Apache License 2.0
2 stars 0 forks source link

feat: upgrade clarinet to v2.4.0; enable `use_nakamoto` field to configure stacks chain for nakamoto #89

Closed MicaiahReid closed 7 months ago

MicaiahReid commented 9 months ago

Description

This PR upgrades the internal Clarinet dependency to v2.4.0. The Devnet API uses Clarinet's types for validation of user input (Devnet.toml, Clarinet.toml, etc), so the request body for the creation of a Devnet (POST localhost:8477/api/v1/networks) must come from the clarinet devnet package command of Clarinet v2.4.0+.

This PR also uses the new use_nakamoto field in the Devnet.toml to make the following changes (if the field is true):

Fixes #88

Breaking change?

Technically this is breaking because the above reasoning of needing to stay in step with the Clarinet version.

Checklist

codecov[bot] commented 9 months ago

Codecov Report

Attention: Patch coverage is 79.63801% with 45 lines in your changes are missing coverage. Please review.

Project coverage is 79.37%. Comparing base (47417d5) to head (e77dab6).

Files Patch % Lines
src/lib.rs 78.17% 43 Missing :warning:
src/resources/pod.rs 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #89 +/- ## =========================================== - Coverage 80.53% 79.37% -1.17% =========================================== Files 13 13 Lines 1233 1464 +231 =========================================== + Hits 993 1162 +169 - Misses 240 302 +62 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

blockstack-devops commented 7 months ago

:tada: This PR is included in version 1.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: