-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Implement recommendations from 5.0 audit Phase 1B #4502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a06b352
316c30c
351565f
1bd3544
53b4feb
a94adcd
9afa6c9
5a0e133
58546a1
1164c51
dee9963
687b805
60329ea
ffd9520
c2e835e
7263524
6689060
11213f5
29fd3ea
889c112
13cdb42
745b14d
3d8baba
ceb19fd
f9904fa
8cb5200
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| 'openzeppelin-solidity': major | ||
| --- | ||
|
|
||
| `Address`: Removed the ability to customize error messages. A common custom error is always used if the underlying revert reason cannot be bubbled up. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| 'openzeppelin-solidity': patch | ||
| --- | ||
|
|
||
| `VestingWallet`: Fix revert during 1 second time window when duration is 0. |
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just for the record, some people did ask for supporting multiple forwarders at the same time, using a Our answer was that this is storage intensive (sloads) and that we don't want to provide it by default, but that they can easily implement that by overriding |
ernestognw marked this conversation as resolved.
Show resolved
Hide resolved
|
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| // SPDX-License-Identifier: MIT | ||
| pragma solidity ^0.8.20; | ||
|
|
||
| import {IBeacon} from "../proxy/beacon/IBeacon.sol"; | ||
|
|
||
| contract UpgradeableBeaconMock is IBeacon { | ||
| address public implementation; | ||
|
|
||
| constructor(address impl) { | ||
| implementation = impl; | ||
| } | ||
| } | ||
|
|
||
| interface IProxyExposed { | ||
| // solhint-disable-next-line func-name-mixedcase | ||
| function $getBeacon() external view returns (address); | ||
| } | ||
|
|
||
| contract UpgradeableBeaconReentrantMock is IBeacon { | ||
| error BeaconProxyBeaconSlotAddress(address beacon); | ||
|
|
||
| function implementation() external view override returns (address) { | ||
| // Revert with the beacon seen in the proxy at the moment of calling to check if it's | ||
| // set before the call. | ||
| revert BeaconProxyBeaconSlotAddress(IProxyExposed(msg.sender).$getBeacon()); | ||
| } | ||
| } |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.