butaneprotocol / blaze-cardano

🔥 The hottest transaction building library for Cardano
https://blaze.butane.dev
Apache License 2.0
58 stars 22 forks source link

fix: consider preliminaryFee on fee calculation #174

Closed joacohoyos closed 2 months ago

joacohoyos commented 2 months ago

When evaluating there is a diff between the outputChange and the fee set in the tx. This is due to substracting the preliminaryFee both the first time we calculate the excessValue and when merging in the modifiied line

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 079731843675f9548e8ee67457709ce472d8aadf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ----------------------- | ----- | | @blaze-cardano/tx | Patch | | @blaze-cardano/emulator | Patch | | @blaze-cardano/sdk | Patch | | @blaze-cardano/uplc | Patch | | @blaze-cardano/wallet | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR