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: regression in 'NoEstimateAvailable' check #1785

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

zone117x
Copy link
Member

@zone117x zone117x commented Feb 3, 2025

This PR was published to npm with the version 7.0.3-pr.6+dc8b1728
e.g. npm install @stacks/[email protected]+dc8b1728 --save-exact

The stacks-core RPC still has a bug where the NoEstimateAvailable response can be a plain string rather than structured json. See stacks-network/stacks-core#4145

Estimator RPC endpoint failed to estimate tx ContractCall: NoEstimateAvailable

This PR detects NoEstimateAvailable when the response is a string.

@zone117x zone117x requested a review from janniks February 3, 2025 17:03
Copy link

vercel bot commented Feb 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stacksjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 3, 2025 5:39pm

Copy link
Collaborator

@janniks janniks left a comment

Choose a reason for hiding this comment

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

👍

Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@zone117x zone117x merged commit a079a74 into main Feb 3, 2025
10 checks passed
@zone117x zone117x deleted the fix/no-estimate-available branch February 3, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants