Skip to content

Commit a7b49ab

Browse files
Merge pull request smartcontractkit#1503 from achimstruve/patch-1
Lesson 7: VRF Coordinator version
2 parents fd75196 + 2434ac9 commit a7b49ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chronological-issues-from-video.md

+2
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ Whenever the terms Network ID and Chain ID are used without distinction, it shou
107107
## Lesson 7
108108
**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/)**
109109

110+
- 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.
111+
110112
- [8:06:54ish](https://youtu.be/M576WGiDBdQ?t=29214)
111113
- 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.
112114
- However, it's still best practice to learn how to use events, especially when updating mappings!

0 commit comments

Comments
 (0)