Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")
The video left this part as homework, therefore, no video. If it were there, it would be at 19:15:00 timestamp
ethers.getContract only returns the connection to the contract. As both were connecting to the same contract, therefore, the printed address were the same.
Lesson
Lesson 12
Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")
The video left this part as homework, therefore, no video. If it were there, it would be at 19:15:00 timestamp
Operating System
Windows
Describe the bug
In lesson 12, test/unit/ourToken-unit.test.js
... I believe Patrick meant to create two different tokens to interact with each other. However, they turned out to be the same contract
this printed out the following when I ran 'yarn hardhat test'.
You can see ourToken and playerToken had the same address.