Skip to content

add_change_if_needed multiple change outputs on many assets causes Error from node OutputTooSmallUTxO #664

@0xtrossets

Description

@0xtrossets

When I have a lot of assets in the inputs and have them all directed to the change using add_change_if_needed, the Transaction Builder generates multiple change outputs (to reduce output overflow), but on submitting the transaction, the node complains that one of the change outputs is too small with an Error OutputTooSmallUTxO

recreate:

  1. generate transaction with
    2. inputs that total to many separate assets (about 250 different asset names)
    3. single small output of just ADA (no assets)
  2. use add_change_if_needed to generate the change outputs
  3. attempt to submit the transaction to the node

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions