ReentrancyGuardUpgradeable still relavant in upgradable contracts?

:1234: Code to reproduce


:laptop: Environment

Hi, I noticed ReentrancyGuardUpgradeable.sol is no longer available within newer versions of OZ upgradable contracts. What is the alternative to use as a non-upgradable variant of ReentrancyGuard would not work with an upgradable contract due to its constructor?

1 Like

faced the same questionable. any updates on this?

the solution was to replace the upgradable variant with ReentrancyguardTransient, turns out Reentrancyguard is deprecated and would be removed from future releases moving forward.
ReentrancyguardTransient.sol works perfectly with upgradable and non-upgradable contracts.