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

"Click here" in migration banner unclickable #1391

Closed
justanwar opened this issue Jan 12, 2024 · 13 comments
Closed

"Click here" in migration banner unclickable #1391

justanwar opened this issue Jan 12, 2024 · 13 comments

Comments

@justanwar
Copy link
Member

In some circumstances the "Click here" in migration banner is unclickable. The RPC call still works.

image

@nrsimha
Copy link

nrsimha commented Jan 18, 2024

I have same issue on MacOS.
Firo Core version v0.14.13.0-g39c41e5e7 (64-bit)

@Dubaiali
Copy link

@justanwar Got the same issue. Can someone explain RCP Call and where to do that?

@justanwar
Copy link
Member Author

Known workarounds (independent of each other):

  1. Unlock wallet with walletpassphrase "YOURPASSWORD" 30 in the Debug Console. The migrate banner should be clickable now.
  2. Go to Send tab and attempt a transparent Send. A window should pop up asking you to go private. Proceed to private, then another window should pop up asking you to migrate from Lelantus to Spark.
  3. Use the lelantustospark RPC in the Debug Console.
  4. Use the joinsplit RPC in the Debug Console to spend Lelantus to a transparent address, then send those to Spark.

Attempting to use the Send -> Private Balance to send Lelantus to Spark will not work.

@goodc0re
Copy link

@justanwar, the workaround options cause Firo Core on macOS Sonoma 14.2.1 to become unresponsive and it needs to be force quit. After each force quit it needs to sync that last 36 hours again. This is on a 32 GB Ram 2,4 GHz 8-Core Intel Core i9 machine.
The wallet contains only Lelantus outputs. The balance is shown as 0 and the "Click here" in the migration banner is unclickable.
I tried all the options and so far could not migrate any funds.

@justanwar
Copy link
Member Author

@goodc0re Could you try the joinsplit RPC method? Create a transparent address and use it as the argument. It is recommended to also open private balance coin control to see how many Lelantus inputs/amount you have and spread it over several joinsplit (Lelantus spend) transactions.

@goodc0re
Copy link

@justanwar The joinsplit RPC method also results in Firo Core to become unresponsive and needing to be force closed after issuing the command. The wallet had been unlocked prior to issuing the joinsplit command.

@nrsimha
Copy link

nrsimha commented Jan 23, 2024

@goodc0re After I use walletphrase to unlock wallet and clicking link, it became unresponsive too, but I waited. In 30 seconds it did show dialog. After choosing to migrate it became again unresponsive (i think even for few minutes), but I let it run and after few minutes when I went back to wallet it was migrated and everything works nicely.

@goodc0re
Copy link

@nrsimha Thanks, it needed a couple of minutes of unresponsiveness and indeed migration worked in the end. A note along the lines of "may take a while" might be useful somewhere in the gui.

@JCThePants
Copy link

JCThePants commented Feb 5, 2024

I've been trying to migrate and tried the RPC calls (joinsplit and lelantustospark). They appear successful but when I check the transaction, it says "0/offline, has not been successfully broadcast yet". If I try to rebroadcast, I get a dialog window that says "There was an error trying to broadcast the message:".

Edit: I'm also connected to 8 peers and the balance does not reflect the transaction.

@justanwar
Copy link
Member Author

@JCThePants Which transactions failed to rebroadcast? (Lelantus to transparent/transparent to Spark?) Are those transactions by any chance exceeding 140kB? We have a fix for this already but it is not released yet. In the meantime, try using smaller amounts to get it below this size.

For reference: https://forum.firo.org/t/lelantus-to-spark-migration-workarounds/3112

@JCThePants
Copy link

JCThePants commented Feb 5, 2024

@justanwar I'm attempting to migrate my Lelantus balance and encountered the issue of not being able to use "Click here". I used the workarounds you mentioned here: https://forum.firo.org/t/lelantus-to-spark-migration-workarounds/3112

In all cases, my transactions would not broadcast or re-broadcast.

The transaction size was 65270 bytes.

I've abandoned the transaction and attempted joinsplit to a transparent address again but using less than the full amount this time and it successfully broadcast.

Edit: I did a second joinsplit using the full remaining amount and experienced the same issue of not broadcasting. The transaction shows "0/unconfirmed, not in memory pool, has not been successfully broadcast yet". Attempt to rebroadcast yields error: "There was an error trying to rebroadcast the message:". The transaction size 62710 bytes.

The joinsplit command syntaxt I'm using looks like:

joinsplit "{"transparentAddress":amount}" "["transparentAddress"]"

It seems I'm not able to broadcast the transaction when using the full amount.

@skironDotNet
Copy link

Unlock wallet with walletpassphrase "YOURPASSWORD" 30 in the Debug Console. You should be able to “Click here” in the migration banner.

https://forum.firo.org/t/lelantus-to-spark-migration-workarounds/3112

The only "bug" about is the fact it's not explicitly mentioned on the banner that the wallet needs to be unlocked first

@levonpetrosyan93
Copy link
Contributor

Fixed in #1456 ,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants
@nrsimha @goodc0re @skironDotNet @JCThePants @justanwar @levonpetrosyan93 @Dubaiali and others