Skip to content

Commit

Permalink
Merge pull request smartcontractkit#1503 from achimstruve/patch-1
Browse files Browse the repository at this point in the history
Lesson 7: VRF Coordinator version
  • Loading branch information
PatrickAlphaC authored May 25, 2022
2 parents fd75196 + 2434ac9 commit a7b49ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chronological-issues-from-video.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ Whenever the terms Network ID and Chain ID are used without distinction, it shou
## Lesson 7
**In the video, we use Chainlink VRF v1 and the documentation has been updated to V2. You can view the [V1 documentation here](https://docs.chain.link/docs/get-a-random-number/v1/)**

- Looking for the VRF Coordinator contract by yourself will probably bring you to the v2 address of it. Make sure to use the v1 VRF Coordinator contract in the brownie-config.yaml file, because it won't work with the v2 contract. The repository has already the correct contract address.

- [8:06:54ish](https://youtu.be/M576WGiDBdQ?t=29214)
- In the video, we use events exclusivly to test our contracts, however, we could have also used `tx.return_value` to get the return value of a function.
- However, it's still best practice to learn how to use events, especially when updating mappings!
Expand Down

0 comments on commit a7b49ab

Please sign in to comment.