Closed snow884 closed 1 year ago
Feels like this should be fixed in rc3 and is part of the new itests + I see the proof in the universe.
Can you share the universe config for the receiver? tapcli u f c i
Confirmed from fresh rc3 setup that the global_sync_config for PROOF_TYPE_TRANSFER has allow_sync_insert=false
.
@snow884 if you run tapcli u f c g --proof_type=transfer --allow_insert=true
on the receiving node and retry, that should work.
Feels like this should be fixed in rc3 and is part of the new itests + I see the proof in the universe.
Can you share the universe config for the receiver?
tapcli u f c i
Thank you for quick reply. Here is the received config.
$ tapcli u f c i
{
"global_sync_configs": [
{
"proof_type": "PROOF_TYPE_ISSUANCE",
"allow_sync_insert": true,
"allow_sync_export": true
},
{
"proof_type": "PROOF_TYPE_TRANSFER",
"allow_sync_insert": false,
"allow_sync_export": true
}
],
"asset_sync_configs": []
}
I think this could also be fixed by setting universe.public-access=true
in the config and restarting before the next send attempt. IIUC accepting transfer proofs is off by default.
I have tried universe.public-access=true tapcli u f c g --proof_type=transfer --allow_insert=true
and restarting tapd
I keep getting the same error when receiving.
Sorry that was premature, that config actually shouldn't affect this case.
the same with my daemon:
[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: cannot fetch proof for input asset: unable to find proof
if I try send asset again :
[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: unable to list eligible coins: failed to find coin(s) that satisfy given constraints; if previous transfers are un-confirmed, wait for them to confirm before trying again
And my daemon has a pending tx for 3days as the fee is 1sat. https://mempool.space/address/bc1pk72lzk6djlrx7gfqrs7j0er4yh36xrj9vqs2yxtwk6mvjrjmr4lqcumlxw
the same with my daemon:
[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: cannot fetch proof for input asset: unable to find proof
if I try send asset again :[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: unable to list eligible coins: failed to find coin(s) that satisfy given constraints; if previous transfers are un-confirmed, wait for them to confirm before trying again
Happy to see it is not just me 😛
the same with my daemon:
[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: cannot fetch proof for input asset: unable to find proof
if I try send asset again :[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: unable to list eligible coins: failed to find coin(s) that satisfy given constraints; if previous transfers are un-confirmed, wait for them to confirm before trying again
This is from the sender or the receiver trying to send? This looks like a different issue actually.
And my daemon has a pending tx for 3days as the fee is 1sat. https://mempool.space/address/bc1pk72lzk6djlrx7gfqrs7j0er4yh36xrj9vqs2yxtwk6mvjrjmr4lqcumlxw
Were you set up with the Lightning Labs fee estimator? It looks like that may have been a valid fee estimate at the time but the fee market just moved up. Will discuss reducing the conf target so we default to higher fees.
the same with my daemon:
[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: cannot fetch proof for input asset: unable to find proof
if I try send asset again :[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: unable to list eligible coins: failed to find coin(s) that satisfy given constraints; if previous transfers are un-confirmed, wait for them to confirm before trying again
This is from the sender or the receiver trying to send? This looks like a different issue actually.
And my daemon has a pending tx for 3days as the fee is 1sat. https://mempool.space/address/bc1pk72lzk6djlrx7gfqrs7j0er4yh36xrj9vqs2yxtwk6mvjrjmr4lqcumlxw
Were you set up with the Lightning Labs fee estimator? It looks like that may have been a valid fee estimate at the time but the fee market just moved up. Will discuss reducing the conf target so we default to higher fees.
when I boardcasted the tx, there was a fee bug in v0.31-alpha, so the fee was set to 1sat
I tried to repro, and was able to receive a grouped asset from two nodes np. This was on testnet FWIW. I confirmed they were using the same version (final version of v0.3.0) and also used the correct universe key.
@nostrassets rn we don't support spending unconfirmed change. So if you only have a single UTXO in your wallet, you'll need to wait for it to confirm.
If you have something stuck on mainnet, then you can use lnd's BumpFee
command lncli wallet bumpfee
to increase the fee rate using CPFP.
I'm gonna close this as we have #597. We have a good idea what the issue is here, basically a race condition.
I'm gonna close this as we have #597. We have a good idea what the issue is here, basically a race condition.
Thank you for looking into this.
Background
When I set up two nodes on two separate hosts and try sending assets from the first one to the second one the amount is subtracted from the sending node but the balance is not added to the receiving node.
The receiving node displays the error
Your environment
Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
On receiving node:
On sending node:
TAPD log on the receiving node
TAPD log on the sending node
Expected behavior
I would expect the balance to be correctly added on the receiving node after it is subtracted not he sending node.
Actual behavior
RPC Error message + lost assets