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
I am trying to update a swap via a transaction, however, I get error "Error: Value 2879080 less tan the minimum UTXO value 2900630" while doing so. 2879080 is added to the utxo by the wallet and is not something that we specify. I noticed that the minUtxo is hardcoded here
am not sure if this error is due to this. However, since the ada in the utxo is added by wallet I would expect it to be acceptable for transactions. Can you please check this out?
The text was updated successfully, but these errors were encountered:
That is only a private const used in the tests. It's non-public and only referred to in the tests module there as those expected results were also taken form mainnet at the time to match.
The public function min_ada_required in that file takes it as an explicit argument.
@kunj77 Could you please post the CBOR of your transaction output please?
e.g. console.log(output.to_cbor_hex()) (from wasm) or println!("{}", hex::encode(&output.to_cbor_bytes())) from rust (or just println!("{:?}", output.to_cbor_bytes()) if you don't have the hex crate installed).
I am trying to update a swap via a transaction, however, I get error "Error: Value 2879080 less tan the minimum UTXO value 2900630" while doing so. 2879080 is added to the utxo by the wallet and is not something that we specify. I noticed that the minUtxo is hardcoded here
cardano-multiplatform-lib/chain/rust/src/min_ada.rs
Line 82 in 29c48aa
The text was updated successfully, but these errors were encountered: