Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Send Assets On Mainnet Failed! #1274

Open
lukegao209 opened this issue Jan 6, 2025 · 10 comments
Open

[bug]: Send Assets On Mainnet Failed! #1274

lukegao209 opened this issue Jan 6, 2025 · 10 comments
Labels
bug Something isn't working needs triage

Comments

@lukegao209
Copy link
Contributor

Background

Aclie Tapd(V0.3.3) , asset was issued in V0.3
Bob Tapd(V5.0)

send asset from Alice to Bob on mainnet

Issues

tapcli -n mainnet assets send --addr=tapbc1qqqszqspqqzzq366vshdzw7yftmyjry9w9qynzxhk52rsm8c7wnq85z2p5h6n784qcssyu6gp97mwq4jg4ws6cl47sjjvhm7pq2pqgqhresjrgl3zp75xzphpqss9rskhf94g42rqwhdk7defpsgwem5egqwdyf37f2j6xcshlnj4n3spgpl6qlgpsh82mnfwejhyum9wfcxxw309a6ku6tkv4e8xefwd35kw6r5de5kueewve5kuctwvdjn5vfsxqerjrzqtc6
[tapcli] unable to send assets: rpc error: code = Unknown desc = address: unknown version number
@ffranr
Copy link
Contributor

ffranr commented Jan 6, 2025

Alice's tapd version appears to be quite outdated. Since version 0.3.3, we’ve implemented numerous updates. It seems that Alice is generating a TAP receive address using an outdated version, which is no longer compatible.

Can Alice update? Or do we need to consider adding support for older tap addresses?

@lukegao209
Copy link
Contributor Author

I can update Alice (0.3.3) to 0.5. Is it possible to upgrade Alice from version 0.3.3 to 0.5? I haven’t tried this before.

@Roasbeef
Copy link
Member

Is it possible to upgrade Alice from version 0.3.3 to 0.5? I haven’t tried this before.

You should close out any channels Alice has from v0.3.3 to v0.5 if they have them.

@guggero
Copy link
Member

guggero commented Jan 13, 2025

v0.3.3 didn't have any channel functionality yet, so nothing special has to be done there. So yes, just updating tapd should work.

@lukegao209
Copy link
Contributor Author

v0.3.3 didn't have any channel functionality yet, so nothing special has to be done there. So yes, just updating tapd should work.

v0.3.3 uses PostgreSQL. If upgrading to v0.5.0, is it necessary to make any adjustments to the database? Will v0.5.0 automatically upgrade the database?

@guggero
Copy link
Member

guggero commented Jan 13, 2025

Upgrading to a new version will execute database migration scripts automatically, both for Postgres and SQLite.

@lukegao209
Copy link
Contributor Author

it works ,thanks

@lukegao209
Copy link
Contributor Author

Will version v0.6.0 complete the replacement of assetId with groupId?

@lukegao209
Copy link
Contributor Author

@guggero Hey Guggero,

terminal(lightninglabs/lightning-terminal:v0.13.993-experimental)
cmd => asset list
"unconfirmed_transfers": "5",
"unconfirmed_mints": "0"

I can't send assets on mainnet as there are 5 unconfirmed_transfers, how can I fix it?
Will upgrade to v0.14.0-alpha work?

[tapcli] unable to send assets: rpc error: code = Unknown desc = unable to fund address send: unable to select coins: failed to find coin(s) that satisfy given constraints; if previous transfers are un-confirmed, wait for them to confirm before trying again

@guggero
Copy link
Member

guggero commented Jan 14, 2025

That error just means there are no asset UTXOs available. That doesn't tell us anything about why the assets are unconfirmed.
So yes, please update (if you had any asset channels follow the upgrade steps outlined in the litd 0.14.0-alpha release notes), then send full logs if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants