trufflesuite / trufflesuite.github.io

Staging Repo of Build Artifacts for Truffle Suite. Find the source at https://github.com/trufflesuite/trufflesuite.com
https://www.trufflesuite.com
34 stars 160 forks source link

New tutorials #109

Closed OnlyOneJMJQ closed 7 years ago

OnlyOneJMJQ commented 7 years ago

Reduced single blog post and tutorial container width to 600px max. Made all edits to Pet Shop, only tweaked one:

Since adopters is an array, and we know from the first adoption test that we adopted pet 8, we compare the testing contracts address with location 8 in the array.

In this sentence I was attempting to point out that tests persist data. This is very indirect, and in the larger context out of place, so I removed it and added this before the test in "Testing Retrieval of a Single Pet's Owner".

Stored data will persist for the duration of our tests, so our adoption of pet 8 above can be retrieved by other tests.

This now covers why we're able to use petId 8 in other tests.

OnlyOneJMJQ commented 7 years ago

Merged to apply new blog/tutorial container sizes.