Add note about proxy changes in the changelog
(cherry picked from commit cfb7f80003)
This commit is contained in:
@ -5,6 +5,15 @@
|
|||||||
### New features
|
### New features
|
||||||
* Proxies: added the proxy contracts from OpenZeppelin SDK. ([#2335](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2335))
|
* Proxies: added the proxy contracts from OpenZeppelin SDK. ([#2335](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2335))
|
||||||
|
|
||||||
|
#### Proxy changes with respect to OpenZeppelin SDK
|
||||||
|
|
||||||
|
Aside from upgrading them from Solidity 0.5 to 0.6, we've changed a few minor things from the proxy contracts as they were found in OpenZeppelin SDK.
|
||||||
|
|
||||||
|
- `UpgradeabilityProxy` was renamed to `UpgradeableProxy`.
|
||||||
|
- `AdminUpgradeabilityProxy` was renamed to `TransparentUpgradeableProxy`.
|
||||||
|
- `Proxy._willFallback` was renamed to `Proxy._beforeFallback`.
|
||||||
|
- `UpgradeabilityProxy._setImplementation` and `AdminUpgradeabilityProxy._setAdmin` were made private.
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
* `Address.isContract`: switched from `extcodehash` to `extcodesize` for less gas usage. ([#2311](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2311))
|
* `Address.isContract`: switched from `extcodehash` to `extcodesize` for less gas usage. ([#2311](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2311))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user