Commit 3b8fcafa authored by Kelvin Fichter's avatar Kelvin Fichter

fix(ctb): correct usage of legacy in ProxyAdmin

Corrects the usage of the legacy custom tag in the ProxyAdmin contract.
Legacy tags are meant for legacy functions that are included in a
contract in order to satisfy a previous ABI. The ProxyAdmin was using
legacy tags for things that have to do with legacy behavior.
parent 71d3db71
This diff is collapsed.
......@@ -47,13 +47,11 @@ contract ProxyAdmin is Ownable {
}
/**
* @custom:legacy
* @notice A mapping of proxy types, used for backwards compatibility.
*/
mapping(address => ProxyType) public proxyType;
/**
* @custom:legacy
* @notice A reverse mapping of addresses to names held in the AddressManager. This must be
* manually kept up to date with changes in the AddressManager for this contract
* to be able to work as an admin for the ResolvedDelegateProxy type.
......@@ -61,17 +59,15 @@ contract ProxyAdmin is Ownable {
mapping(address => string) public implementationName;
/**
* @custom:legacy
* @notice The address of the address manager, this is required to manage the
* ResolvedDelegateProxy type.
*/
AddressManager public addressManager;
/**
* @custom:legacy
* @notice A legacy upgrading indicator used by the old Chugsplash Proxy.
*/
bool internal upgrading = false;
bool internal upgrading;
/**
* @param _owner Address of the initial owner of this contract.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment