Commit 1b4fda30 authored by Maurelian's avatar Maurelian Committed by GitHub

fix: Make public DeployUtils lib functions internal (#12759)

parent 6f2058c4
...@@ -279,7 +279,10 @@ library DeployUtils { ...@@ -279,7 +279,10 @@ library DeployUtils {
/// @notice Builds an L1ChugSplashProxy with a dummy implementation. /// @notice Builds an L1ChugSplashProxy with a dummy implementation.
/// @param _proxyImplName Name of the implementation contract. /// @param _proxyImplName Name of the implementation contract.
function buildL1ChugSplashProxyWithImpl(string memory _proxyImplName) public returns (IL1ChugSplashProxy proxy_) { function buildL1ChugSplashProxyWithImpl(string memory _proxyImplName)
internal
returns (IL1ChugSplashProxy proxy_)
{
proxy_ = IL1ChugSplashProxy( proxy_ = IL1ChugSplashProxy(
create1({ create1({
_name: "L1ChugSplashProxy", _name: "L1ChugSplashProxy",
...@@ -299,7 +302,7 @@ library DeployUtils { ...@@ -299,7 +302,7 @@ library DeployUtils {
IAddressManager _addressManager, IAddressManager _addressManager,
string memory _proxyImplName string memory _proxyImplName
) )
public internal
returns (IResolvedDelegateProxy proxy_) returns (IResolvedDelegateProxy proxy_)
{ {
proxy_ = IResolvedDelegateProxy( proxy_ = IResolvedDelegateProxy(
...@@ -316,7 +319,7 @@ library DeployUtils { ...@@ -316,7 +319,7 @@ library DeployUtils {
} }
/// @notice Builds an AddressManager contract. /// @notice Builds an AddressManager contract.
function buildAddressManager() public returns (IAddressManager addressManager_) { function buildAddressManager() internal returns (IAddressManager addressManager_) {
addressManager_ = IAddressManager( addressManager_ = IAddressManager(
create1({ create1({
_name: "AddressManager", _name: "AddressManager",
......
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