-
Notifications
You must be signed in to change notification settings - Fork 35
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
Tutorial feedback #314
Comments
We should move this^ part to a separate section or towards the end of the tutorial; there are more chances that the reader clears the state at this step and then not be able to do the next tutorial where they should not have reset the state of their local client. |
Agreed on most of these. Some were discussed already or are planned (#304 for point 10). |
Here's a list of tasks to keep track of Command changes (taking care of this on #322)
Better Feedback messages (taking care of this on #323)
Extra CLI output (#326)
Documentation (0xPolygonMiden/miden-node#351 and 0xPolygonMiden/miden-base#683)
Fixes
|
@bobbinth quick question regarding this:
The current way of using commands/options seems rather consistent.
Perhaps there's a specific way users are getting confused by the way we handle commands/options, which would clarify a bit more if we need to use it. Edit: maybe the |
also, a side question regarding
What would happen to the commands currently under the
|
This may be more of a bias that I have because of using git (e.g., I was expecting
This may be difficult: input and output notes may have different data available to be displayed. One option may be to show minimal information about each note (e.g., ID and status) and maybe show them in two columns (input notes on the left and output notes on the right). |
In the tutorial, there is a minor inconsistency in the number of tokens received from the faucet in one of the figures. Should be 333 instead of 100. |
added this to the list above |
I implemented this in #318 if you want to check it out. Basically I added a |
If not too difficult, could you post a screenshot of how this looks like? |
|
I can't seem to replicat this error. The transaction just takes some time to process in the node so you have to wait a little before the |
OK - let's consider this closed for now. If it comes up again in the future, I'll open a separate issue. I would still probably go with two separate lists - maybe something that looks like so: Basically, two independent lists side-by-side. This is probably a relatively big change - so, maybe makes sense to break it out into a stand-alone issue. |
Addresses changes following 0xPolygonMiden/miden-client#314, which changed the name of the client into `miden`
All points were addressed. PRs are referenced here. The remaining items have their own issues now to discuss and implement separately:
Once the remaining PRs are merged we can close this and continue each work item in its own issue. |
Addresses changes following 0xPolygonMiden/miden-client#314, which changed the name of the client into `miden`
closing as all issues have been solved for v0.3 |
A few thoughts after going through the latest tutorials (these are mostly CLI-related comments, many of which could probably be separate issues):
miden-client account new basic-mutable
command should print out some info about the created account (e.g., ID - but maybe something else as well). Other examples:a.
sync
command should print out more info about the sync process (e.g., number of new input notes detected).b.
tx new
command should print out some progress info (e.g., executing transaction, proving transaction, transaction submitted to node etc.).miden
. We already have an issue for this (#109).import
command may be a good idea. So, for examplemiden-client import note
rather thanmiden-client note-inputs -i
.a. Similar to point 1, would be good to get some extra info after the note was imported. For example, in addition to "Successfully imported ..." message, might be good to print something like "To view note details execute
miden-client input-notes -s 0x123..
".input-notes -s
, would be good to print out more detailed note info (and probably not in a single table row format). A few thoughtsa. For well-known note scripts (e.g.,
P2ID
), maybe good to print out the script name next to script hash.b. For note assets (we should rename "vault" to "assets") we should print out the actual contents of the vault in addition to the hash.
c. Similar for note inputs, we should print out the actual input values in addition to the inputs hash.
d. When available, we should print out note metadata (e.g., sender, tag etc.).
miden-client account
should list accounts (same behavior asmiden-client account -l
).a. Also, how do we decide on using options vs. commands? For example why
miden-client account list
and notmiden-client account --list
(the latter would be more similar to how git works for example - e.g.,git branch --list
).account show
command. Like we can print out full account details and then we don't need sub-commands to show different parts of the account (also, if we don't have these sub commands, we can probably doaccount --show
instead ofaccount show
).miden-client input-notes -l
command), would be good to show note status to indicate whether the note has been consumed or not. For example, instead of "Commit Height" we could show "Status" with optionspending
,committed (height)
,consumed (account_id)
.miden-client tx -l
),Status
field does not seem to update correctly (or maybe at all - it always says "pending").info
command, we should print out more information (right now we print out just block height). A few things come to mind:a. Client version.
b. Address of the node we are connected to.
c. Maybe size of the database file.
d. Maybe some other info (e.g., total number of accounts, number of pending input notes).
output-notes
command, or maybe we just have a singlenotes
command and then have options for showing input notes, output notes, or both.The text was updated successfully, but these errors were encountered: