Closed inimrod closed 7 months ago
Any news?
is this a road blocker somehow?
It is not possible to send less then 1 ADA, currently the method calculateMinUtxoAmount
calculates 0.999978 ADA. Even on https://typhonwallet.io/#/wallet
is this a road blocker somehow?
Not strictly, but the current workarounds are either costly, or messy (at least for me 😄). I've got quite a few txs now that failed because the minUtxo is calculated incorrectly and ends up being lower than required, especially in cases where there's a lot of tokens in the bundle.
What works for me right now is manually setting the lovelacePerUtxoWord
param to 34482 like it was, before Vasil. But this makes the minUtxo more than what's actually required now.
Noted, will update the lib shortly!
This update requires breaking changes. The lib will function fine by setting lovelacePerUtxoWord
param to 34482
, hence will update this method along with the babbage era upgrades.
updated with https://github.com/StricaHQ/typhonjs/pull/34
Since the Vasil HF, per the official docs:
As of typhonjs v1.2.7, the
calculateMinUtxoAmount()
inutils
is still using the old formula. This now needs to be updated.