From 8d168e6c89535c39518504624342cece88659152 Mon Sep 17 00:00:00 2001 From: Schlagonia Date: Tue, 24 Sep 2024 14:21:40 -0600 Subject: [PATCH] chore: update periphery --- .gitmodules | 9 +++++---- lib/tokenized-strategy-periphery | 2 +- src/StrategyFactory.sol | 4 +--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitmodules b/.gitmodules index b0a0ae72..63378a86 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,10 +6,11 @@ path = lib/openzeppelin-contracts url = https://github.com/OpenZeppelin/openzeppelin-contracts branch = v4.9.5 -[submodule "lib/tokenized-strategy-periphery"] - path = lib/tokenized-strategy-periphery - url = https://github.com/yearn/tokenized-strategy-periphery - branch = master [submodule "lib/tokenized-strategy"] path = lib/tokenized-strategy url = https://github.com/yearn/tokenized-strategy + branch = v3.0.3 +[submodule "lib/tokenized-strategy-periphery"] + path = lib/tokenized-strategy-periphery + url = https://github.com/yearn/tokenized-strategy-periphery + branch = master \ No newline at end of file diff --git a/lib/tokenized-strategy-periphery b/lib/tokenized-strategy-periphery index 6ce8d29b..03dfef66 160000 --- a/lib/tokenized-strategy-periphery +++ b/lib/tokenized-strategy-periphery @@ -1 +1 @@ -Subproject commit 6ce8d29b1e107a89754dd9f17337582734989b4d +Subproject commit 03dfef66bf046ddccee885bd634a928606601b35 diff --git a/src/StrategyFactory.sol b/src/StrategyFactory.sol index ded34bf2..b690afef 100644 --- a/src/StrategyFactory.sol +++ b/src/StrategyFactory.sol @@ -39,9 +39,7 @@ contract StrategyFactory { */ function newStrategy( address _asset, - string calldata _name - ) external returns (address) { - // We need to use the custom interface with the + he // tokenized strategies available setters. IStrategyInterface _newStrategy = IStrategyInterface( address(new Strategy(_asset, _name))