Added a note in the written lesson about ReentrancyGuard version 5, because when I followed the lesson's demo code, running forge build fails.
The reason is because the location for ReentrancyGuard.sol has changed to @openzeppelin/contracts/utils/ReentrancyGuard.sol from
@openzeppelin/contracts/security/ReentrancyGuard.sol
Added a note in the written lesson about ReentrancyGuard version 5, because when I followed the lesson's demo code, running
forge build
fails.The reason is because the location for
ReentrancyGuard.sol
has changed to@openzeppelin/contracts/utils/ReentrancyGuard.sol
from@openzeppelin/contracts/security/ReentrancyGuard.sol
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v5.1.0/contracts/utils/ReentrancyGuard.sol