From 7d5526206b4c6c11f16e7929f4c05603ead75713 Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Mon, 13 Feb 2023 21:17:34 +0200 Subject: [PATCH] refactor: use named args when calling "deploy" --- src/PRBProxyFactory.sol | 2 +- src/PRBProxyRegistry.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PRBProxyFactory.sol b/src/PRBProxyFactory.sol index c78a360..e3b59f2 100644 --- a/src/PRBProxyFactory.sol +++ b/src/PRBProxyFactory.sol @@ -46,7 +46,7 @@ contract PRBProxyFactory is IPRBProxyFactory { /// @inheritdoc IPRBProxyFactory function deploy() external override returns (IPRBProxy proxy) { - proxy = deployFor(msg.sender); + proxy = deployFor({ owner: msg.sender }); } /// @inheritdoc IPRBProxyFactory diff --git a/src/PRBProxyRegistry.sol b/src/PRBProxyRegistry.sol index b118d1e..97f8200 100644 --- a/src/PRBProxyRegistry.sol +++ b/src/PRBProxyRegistry.sol @@ -46,7 +46,7 @@ contract PRBProxyRegistry is IPRBProxyRegistry { /// @inheritdoc IPRBProxyRegistry function deploy() external override returns (IPRBProxy proxy) { - proxy = deployFor(msg.sender); + proxy = deployFor({ owner: msg.sender }); } /// @inheritdoc IPRBProxyRegistry