in the ReentrancyGuard contract, 'locked' is set to = 1. However, when used with proxy contracts, 'locked' is initialized with 0. This leads to "REENTRANCY" error.
Checklist
Ensure you completed all of the steps below before submitting your pull request:
[x] Ran forge snapshot?
[x] Ran npm run lint?
[x] Ran forge test?
Pull requests with an incomplete checklist will be thrown out.
Description
in the ReentrancyGuard contract, 'locked' is set to = 1. However, when used with proxy contracts, 'locked' is initialized with 0. This leads to "REENTRANCY" error.
Checklist
Ensure you completed all of the steps below before submitting your pull request:
forge snapshot
?npm run lint
?forge test
?Pull requests with an incomplete checklist will be thrown out.