Skip to content

Conversation

@gregorydemay
Copy link
Contributor

@gregorydemay gregorydemay commented Nov 14, 2025

Follow-up on #7360 to use the correct parameters to compute the fees involved in a transaction sent by the minter to the Dogecoin network in case of a withdrawal.

The implementation introduces a new trait FeeEstimator, of which there are two implementations (one for Bitcoin and another one for Dogecoin), and parametrize the existing methods to build transactions by an instance of that trait. A follow-up PR will add the estimate_withdrawal_fee endpoint.

@github-actions github-actions bot added the fix label Nov 14, 2025
@gregorydemay gregorydemay changed the title fix(ckdoge): transaction fees fix(ckdoge): use correct transaction fees Nov 18, 2025
@gregorydemay gregorydemay marked this pull request as ready for review November 18, 2025 15:54
@gregorydemay gregorydemay requested a review from a team as a code owner November 18, 2025 15:54
@gregorydemay gregorydemay requested a review from a team as a code owner November 20, 2025 09:20
Copy link
Contributor Author

@gregorydemay gregorydemay left a comment

Choose a reason for hiding this comment

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

Thanks for the reviews @THLO and @ninegua! should be ready for a 2nd review

@gregorydemay gregorydemay requested review from THLO and ninegua November 20, 2025 09:21
Copy link
Contributor

@mducroux mducroux left a comment

Choose a reason for hiding this comment

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

Thanks @gregorydemay, estimating fees looks much nicer now! Left only some nits

Copy link
Contributor Author

@gregorydemay gregorydemay left a comment

Choose a reason for hiding this comment

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

Thanks @mducroux for the review!

@gregorydemay gregorydemay added this pull request to the merge queue Nov 21, 2025
Merged via the queue into master with commit 00a5f46 Nov 21, 2025
38 checks passed
@gregorydemay gregorydemay deleted the gdemay/DEFI-2458-ckdoge-tx-fees branch November 21, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants