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: convert correctly from uSTX to STX when applying a deployment on issue #1447 #1563

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

erickcestari
Copy link
Contributor

Description

This PR addresses an issue with the conversion from micro STX (uSTX) to STX during deployment. Previously, the conversion was not handled correctly, leading to incorrect STX values being applied. This fix ensures that the conversion is accurate and that the correct STX values are used.

Related issues and PRs:

Issue: #1447

Breaking change?

No breaking changes are introduced by this PR.

Example

Example
Before this fix, deploying with micro STX values would result in incorrect STX values being applied. After this fix, the conversion is handled correctly, ensuring that the deployed values are accurate.

@CLAassistant
Copy link

CLAassistant commented Sep 19, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@hugocaillard hugocaillard left a comment

Choose a reason for hiding this comment

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

LGTM!
Thx @erickcestari

@hugocaillard hugocaillard enabled auto-merge (squash) September 23, 2024 14:21
Copy link

codecov bot commented Sep 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
components/clarinet-cli/src/deployments/types.rs 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@hugocaillard hugocaillard merged commit dfe4098 into hirosystems:main Sep 23, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants