Skip to content

Conversation

@lisicky
Copy link
Contributor

@lisicky lisicky commented Nov 14, 2024

Changes

Transaction Fee Calculation Updates

  • set_fee() now sets a static fee that remains unchanged during change calculation
    • TransactionBuilder.build_tx() will emit an error if minimal possible fee exceeds specified fee
  • New set_min_fee() method added
    • Sets minimum fee threshold
    • If minimal possible fee is lower, uses the specified minimum fee value

Additional Validation

  • Added balance validation in build_tx()
  • Added collateral balance check in set_total_collateral_and_return()

@lisicky lisicky requested a review from vsubhuman November 14, 2024 14:19
Copy link
Contributor Author

@lisicky lisicky left a comment

Choose a reason for hiding this comment

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

/check

@vsubhuman vsubhuman added this to the 13.2.0 milestone Nov 14, 2024
@lisicky lisicky merged commit a2a19db into master Nov 14, 2024
5 checks passed
@lisicky lisicky deleted the 13.2.0 branch November 14, 2024 14:49
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.

3 participants