mesh icon indicating copy to clipboard operation
mesh copied to clipboard

BUG: "Insufficient input in transaction" error always occurs with App Wallet after updating SDK

Open BenElferink opened this issue 7 months ago • 1 comments

I use App Wallets for my web tools.

I used to be able to transact, mint, and burn, with no problems at all, this was with SDK versions:

    "@meshsdk/core": "^1.5.11-beta.7",
    "@meshsdk/react": "^1.1.10-beta.4",

However, after updating recently to:

    "@meshsdk/core": "^1.5.25",
    "@meshsdk/react": "^1.1.12",

My App Wallet errored consistently with:

Error: [Transaction] An error occurred during build: Insufficient input in transaction. shortage: {ada in inputs: 0, ada in outputs: 1189560, fee 219489
NOTE! "ada in inputs" must be >= ("ada in outputs" + fee) before adding change
and  "ada in inputs" must be == ("ada in outputs" + fee) after adding change
 }.

The wallet had at least 100 ADA, and no assets in it. Only after downgrading back to the old beta versions, was I able to mint/transact again.

BenElferink avatar Jul 01 '24 17:07 BenElferink