You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had a case where I had to override the fallback function of Proxy.sol.
As there is no way to call super for a fallback function override, I had to copy/paste the logic in the override.
If the whole logic of the fallback function was instead in a named internal function, the override could directly call the internal function instead of having to duplicate the whole logic.
The text was updated successfully, but these errors were encountered:
I've had a case where I had to override the
fallback
function ofProxy.sol
.As there is no way to call
super
for a fallback function override, I had to copy/paste the logic in the override.If the whole logic of the fallback function was instead in a named internal function, the override could directly call the internal function instead of having to duplicate the whole logic.
The text was updated successfully, but these errors were encountered: