You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MonadBlockChain instance for Plutus Contract does not take options TxOpts in transaction skeletons into account. Especially regarding balancing and ensuring every utxo has the minimum required amount of ada.
For example, take a skeleton that specifies a public key utxo should be spent to mint an NFT and put in at a script address, with the adjustUnbalTx option enabled. The instance for Contract generates a transaction with only one script output carrying only the NFT. Unlike the transaction generated by Direct, it misses a payback output for the public key and the 2 adas in the script output.
The text was updated successfully, but these errors were encountered:
The
MonadBlockChain
instance for PlutusContract
does not take optionsTxOpts
in transaction skeletons into account. Especially regarding balancing and ensuring every utxo has the minimum required amount of ada.For example, take a skeleton that specifies a public key utxo should be spent to mint an NFT and put in at a script address, with the
adjustUnbalTx
option enabled. The instance forContract
generates a transaction with only one script output carrying only the NFT. Unlike the transaction generated byDirect
, it misses a payback output for the public key and the 2 adas in the script output.The text was updated successfully, but these errors were encountered: