Open cjkoepke opened 7 months ago
I consistently get a Max collateral inputs reached error from Lucid when emulating a wallet via the following:
Max collateral inputs reached
lucid.selectWalletFrom({ address: PREVIEW_DATA.addresses.current, utxos: [ { txHash: "fda5c685eaff5fbb2a7ecb250389fd24a7216128929a9da0ad95b72b586fab70", outputIndex: 1, assets: { lovelace: 16084562225n }, address: "addr_test1qrp8nglm8d8x9w783c5g0qa4spzaft5z5xyx0kp495p8wksjrlfzuz6h4ssxlm78v0utlgrhryvl2gvtgp53a6j9zngqtjfk6s", } ] });
However, this only happens when I try to build a transaction with:
newTx.collectFrom([{ txHash: "0264732a4c82c3f90af79f32b70cf0d108500be9160b3ae036ff21d3cf180798", outputIndex: 0, address: "addr_test1wpesulg5dtt5y73r4zzay9qmy3wnlrxdg944xg4rzuvewls7nrsf0", assets: { lovelace: 14_500_000n, }, datum: "d8799f4103d8799fd8799fd8799fd8799f581cc279a3fb3b4e62bbc78e288783b58045d4ae82a18867d8352d02775affd8799fd8799fd8799f581c121fd22e0b57ac206fefc763f8bfa0771919f5218b40691eea4514d0ffffffffd87a80ffd87a80ff1a002625a0d8799fd879801a00989680d8799f1a00989680ffffff", datumHash: "48e3160a9a3761f40d71fef4fc45e5381f35f28f7af73c11756ffaeeae6e32c8", }], "d87a80");
Any ideas?
Has there been any solution to this, or what is it caused from?
I have not found the solution so far. cc @alessandrokonrad
I consistently get a
Max collateral inputs reached
error from Lucid when emulating a wallet via the following:However, this only happens when I try to build a transaction with:
Any ideas?