Change Prox.sol to meet our needs to work around receive() gas issue


For the receive() issue mentioned by others

If I change the code here


    receive() external payable virtual {


    receive() external payable virtual {

Looks like for my case, the issue will be fixed. Wondering if it's an OK way to work around this just for our use case and wondering if there's any potential pitfalls here?

We are deploying a UUPS upgradable contracts which we wish we can directly send ETH to it. The contract itself does not have too much functionalities


This is OK. Only note that you won't be able to use our Upgrades Plugins to deploy this custom proxy. You should consider using them for testing to catch any issues there.