Commit 2cd730ce authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: relax onlydevnet for protocol versions

Now allow deployment for mainnet
parent c383eb88
...@@ -353,7 +353,7 @@ contract Deploy is Deployer { ...@@ -353,7 +353,7 @@ contract Deploy is Deployer {
} }
/// @notice Deploy the ProtocolVersionsProxy /// @notice Deploy the ProtocolVersionsProxy
function deployProtocolVersionsProxy() public onlyTestnetOrDevnet broadcast returns (address addr_) { function deployProtocolVersionsProxy() public broadcast returns (address addr_) {
address proxyAdmin = mustGetAddress("ProxyAdmin"); address proxyAdmin = mustGetAddress("ProxyAdmin");
Proxy proxy = new Proxy({ Proxy proxy = new Proxy({
_admin: proxyAdmin _admin: proxyAdmin
...@@ -458,7 +458,7 @@ contract Deploy is Deployer { ...@@ -458,7 +458,7 @@ contract Deploy is Deployer {
} }
/// @notice Deploy the ProtocolVersions /// @notice Deploy the ProtocolVersions
function deployProtocolVersions() public onlyTestnetOrDevnet broadcast returns (address addr_) { function deployProtocolVersions() public broadcast returns (address addr_) {
ProtocolVersions versions = new ProtocolVersions{ salt: implSalt() }(); ProtocolVersions versions = new ProtocolVersions{ salt: implSalt() }();
save("ProtocolVersions", address(versions)); save("ProtocolVersions", address(versions));
console.log("ProtocolVersions deployed at %s", address(versions)); console.log("ProtocolVersions deployed at %s", address(versions));
...@@ -861,7 +861,7 @@ contract Deploy is Deployer { ...@@ -861,7 +861,7 @@ contract Deploy is Deployer {
require(portal.paused() == false); require(portal.paused() == false);
} }
function initializeProtocolVersions() public onlyTestnetOrDevnet broadcast { function initializeProtocolVersions() public broadcast {
address protocolVersionsProxy = mustGetAddress("ProtocolVersionsProxy"); address protocolVersionsProxy = mustGetAddress("ProtocolVersionsProxy");
address protocolVersions = mustGetAddress("ProtocolVersions"); address protocolVersions = mustGetAddress("ProtocolVersions");
......
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