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

Tuxedo Parachain - Milestone 2 #1167

Merged

Conversation

JoshOrndorff
Copy link
Contributor

Milestone Delivery Checklist

  • The milestone-delivery-template.md has been copied and updated.
  • This pull request is being made by the same account as the accepted application.
  • I have disclosed any and all sources of reused code in the submitted repositories and have done my due diligence to meet its license requirements.
  • In case of acceptance, invoices must be submitted and payments will be transferred to the Polkadot AssetHub and/or fiat account provided in the application.
  • The delivery is according to the Guidelines for Milestone Deliverables.

Link to the application pull request: w3f/Grants-Program#1932

@keeganquigley
Copy link
Contributor

keeganquigley commented May 9, 2024

Hi @JoshOrndorff sorry for the delay, I was OOO for a few days. Everything is working well so far except for running the Docker version for some reason doesn't give me a starting balance of 100:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
[2024-05-09T15:19:59Z INFO  tuxedo_template_wallet::sync] Initializing fresh sync from genesis 0x3a16225d2acfce0a9524a029f139c1eb0d0377ddacc253efdba0e8074b151093
[2024-05-09T15:19:59Z INFO  tuxedo_template_wallet] Number of blocks in the db: 0
[2024-05-09T15:19:59Z INFO  tuxedo_template_wallet] Wallet database synchronized with node to height 102
Balance Summary
--------------------
total      : 0

Since it says "most platforms", is it supposed to be able to run on Mac? I'll try on Linux too...

UPDATE: Happens on Linux too.

ubuntu@ip-172-31-21-197:~$ docker run --network host ghcr.io/off-narrative-labs/tuxedo-wallet:main show-balance
[2024-05-14T20:56:40Z INFO  tuxedo_template_wallet::sync] Initializing fresh sync from genesis 0x3a16225d2acfce0a9524a029f139c1eb0d0377ddacc253efdba0e8074b151093
[2024-05-14T20:56:40Z INFO  tuxedo_template_wallet] Number of blocks in the db: 0
[2024-05-14T20:56:40Z INFO  tuxedo_template_wallet] Wallet database synchronized with node to height 51
Balance Summary
--------------------
total      : 0

It shows that the database is synchronizing with the running node, so I'm not sure why it won't create a genesis UTXO:

Wallet database synchronized with node to height 88

@JoshOrndorff
Copy link
Contributor Author

This is because the wallet no longer includes the development keys by default (inspired by polkadot js). You have to add --dev to the wallet to do that. So your command should be, for example:

$ docker run --network host ghcr.io/off-narrative-labs/tuxedo-wallet:main --dev show-balance

Of course you can actually create your own private keys too. You can learn more about all of this in the Wallet's guided tour as well if you want. But for tutorials and testing it is easiest to just add --dev.

I've updated the docs throughout the Tuxedo repo to reflect this in Off-Narrative-Labs/Tuxedo#215. Thank you for catching it 🙏

@keeganquigley
Copy link
Contributor

Nice thanks @JoshOrndorff that worked, I get a balance now when the node is running:

ubuntu@ip-172-31-22-134:~$ docker run --network host ghcr.io/off-narrative-labs/tuxedo-wallet:main --dev show-balance
[2024-05-20T22:20:17Z INFO  tuxedo_template_wallet::sync] Initializing fresh sync from genesis 0x3a16225d2acfce0a9524a029f139c1eb0d0377ddacc253efdba0e8074b151093
[2024-05-20T22:20:17Z INFO  tuxedo_template_wallet] Number of blocks in the db: 0
Balance Summary
0xd2bf…df67: 100
--------------------
total      : 100
[2024-05-20T22:20:17Z INFO  tuxedo_template_wallet] Wallet database synchronized with node to height 28

@keeganquigley
Copy link
Contributor

Here is my final evaluation. I'm happy to pass the milestone. Great job as usual and looking forward to the next one.

@keeganquigley keeganquigley merged commit 0c6aacf into w3f:master May 20, 2024
6 checks passed
Copy link

🪙 Please fill out the invoice form in order to initiate the payment process. Thank you!

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

Successfully merging this pull request may close these issues.

2 participants