Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
  • Loading branch information
3 people committed Apr 5, 2023
1 parent 11b4ef5 commit 4b61bfe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/thirty-shrimps-mix.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'openzeppelin-solidity': patch
---

`TransparentUpgradeableProxy`: fix transparency in case of selector clash with non-decodable calldata
`TransparentUpgradeableProxy`: Fix transparency in case of selector clash with non-decodable calldata.
7 changes: 6 additions & 1 deletion contracts/interfaces/IERC1967.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pragma solidity ^0.8.0;

/**
* @dev ERC-1967: Proxy Storage Slots.
* @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
*
* _Available since v4.9._
*/
Expand All @@ -17,4 +17,9 @@ interface IERC1967 {
* @dev Emitted when the admin account has changed.
*/
event AdminChanged(address previousAdmin, address newAdmin);

/**
* @dev Emitted when the beacon is changed.
*/
event BeaconUpgraded(address indexed beacon);
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "../ERC1967/ERC1967Proxy.sol";
/**
* @dev Interface for the {TransparentUpgradeableProxy}. This is useful because {TransparentUpgradeableProxy} uses a
* custom call-routing mechanism, the compiler is unaware of the functions being exposed, and cannot list them. Also
* {TransparentUpgradeableProxy} does not inherit from this interface because its implemented in a way that the
* {TransparentUpgradeableProxy} does not inherit from this interface because it's implemented in a way that the
* compiler doesn't understand and cannot verify.
*/
interface ITransparentUpgradeableProxy is IERC1967 {
Expand Down

0 comments on commit 4b61bfe

Please sign in to comment.