In ReentrancyGuard.sol, _status
is initially set in the constructor. Because the _status
variable is private
, it cannot be set by other contracts inheriting the ReentrancyGuard
. As such, a proxy pointing to a mastercopy that inherits ReentrancyGuard
is unable to initialize _status
, which means all functions which include the nonReentrant
modifier will fail with "ReentrancyGuard: reentrant call"
.
How would you recommend for proxies to work with ReentrancyGuard
?