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(utils): add dynamic witness count adjustment #2963

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

mkoura
Copy link
Collaborator

@mkoura mkoura commented Mar 27, 2025

Added a dynamic calculation for witness_count_add in the return_funds_to_faucet function. This ensures a minimum of 2 witnesses or scales based on the number of signing keys divided by 20.

This change fixes the FeeTooSmallUTxO error when the fee is not calculated precisely enough.

Added a dynamic calculation for `witness_count_add` in the
`return_funds_to_faucet` function. This ensures a minimum of 2 witnesses
or scales based on the number of signing keys divided by 20.

This change fixes the `FeeTooSmallUTxO` error when the fee is not calculated
precisely enough.
@mkoura mkoura requested a review from saratomaz as a code owner March 27, 2025 09:48
@mkoura mkoura merged commit 8b49a4c into IntersectMBO:master Mar 27, 2025
3 checks passed
@mkoura mkoura deleted the add_witness_count branch March 27, 2025 09:50
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.

1 participant