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 costs report in sdk tx response #1620

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

hugocaillard
Copy link
Collaborator

@hugocaillard hugocaillard commented Dec 5, 2024

resolve #1507

Return tx costs in the js sdk.
This will be useful for transaction simulation, costs evaluation can help with fees estimation of a tx for instance

Some of the code could be simplified thanks to stacks-network/stacks-core#5534

@hugocaillard hugocaillard changed the title feat: add costs rport in sdk tx response feat: add costs report in sdk tx response Dec 5, 2024
@hugocaillard hugocaillard force-pushed the feat/costs-in-sdk-tx-result branch from ee8cc7a to ec98242 Compare December 5, 2024 17:11
@hugocaillard hugocaillard self-assigned this Dec 5, 2024
@hugocaillard hugocaillard marked this pull request as ready for review December 5, 2024 17:14
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@hugocaillard hugocaillard force-pushed the feat/costs-in-sdk-tx-result branch from ec98242 to 8892a9e Compare December 17, 2024 18:01
@hugocaillard hugocaillard force-pushed the feat/costs-in-sdk-tx-result branch from 8892a9e to e06af6b Compare December 17, 2024 18:45
@hugocaillard hugocaillard enabled auto-merge (squash) December 17, 2024 18:57
@hugocaillard hugocaillard merged commit 6b68e00 into main Dec 17, 2024
19 checks passed
@hugocaillard hugocaillard deleted the feat/costs-in-sdk-tx-result branch December 17, 2024 19:30
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.

Include tx cost in transaction receipts
2 participants