Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Errors at end of first tutorial #969

Closed
EdMoffatt opened this issue May 14, 2019 · 1 comment
Closed

Errors at end of first tutorial #969

EdMoffatt opened this issue May 14, 2019 · 1 comment
Assignees
Labels
bug Something isn't working sev2
Milestone

Comments

@EdMoffatt
Copy link
Contributor

As spotted by John Swanson, tutorial 1 has some repeat steps and confusion in the last bit (my fault for didgily merging some change sets!). The last bit should be...

...
3. First, we will create an asset.  Right-click on createMyAsset and select Submit Transaction. You will be asked to provide arguments for the transaction: try ["001", "a juicy delicious asset"] (or whatever key and value you like, but make sure you remember the key you use!).

Pro Tip: Arguments are submitted as JSON, so make sure you type the inputs exactly as shown, so that you're submitting an array of 2 strings as required by this transaction!

Command Palette alternative: Submit Transaction

  1. You will then be asked to set the transient data for the transaction. Don't worry about that for now we will cover it in a later tutorial. For now just hit Enter.

  2. Next, submit updateMyAsset in a similar way. This time, for the arguments, provide the same key and a different value e.g. ["001", "a tremendously delicious asset"]. So, now the value of key 001 on our ledger should be "a tremendously delicious asset". Lets check that by reading the value back...

  3. readMyAsset is for reading from rather than writing to the ledger...
    ...

I'll do a change for this, just raising it here so I don't forget!

@EdMoffatt EdMoffatt self-assigned this May 14, 2019
@cazfletch cazfletch added bug Something isn't working sev2 labels May 14, 2019
@cazfletch
Copy link
Contributor

done so closing

@cazfletch cazfletch added this to the Sprint 7 milestone May 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working sev2
Projects
None yet
Development

No branches or pull requests

2 participants