We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5bf723 commit 6d74b91Copy full SHA for 6d74b91
.changeset/eight-peaches-guess.md
@@ -0,0 +1,5 @@
1
+---
2
+'openzeppelin-solidity': minor
3
4
+
5
+`Proxy`: Removed redundant `receive` function.
contracts/proxy/Proxy.sol
@@ -68,14 +68,6 @@ abstract contract Proxy {
68
_fallback();
69
}
70
71
- /**
72
- * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
73
- * is empty.
74
- */
75
- receive() external payable virtual {
76
- _fallback();
77
- }
78
-
79
/**
80
* @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
81
* call, or as part of the Solidity `fallback` or `receive` functions.
0 commit comments