Closed novaknole closed 1 year ago
we're already using 4.8.1
version, so would appreciate if you could be careful with this.
Hello @novaknole
you can see in the comments that this contract specifically uses a total size (storage + gap) of 51
This is to achieve compatibility with previous version that had a bug. This layout is going to be kept.
It's pretty easy what I have to report and you might be aware of already.
https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/dd8ca8adc47624c5c5e2f4d412f5f421951dcc25/contracts/token/ERC20/extensions/ERC20WrapperUpgradeable.sol#L83
Here, gap should be 49.