diff --git a/.gitmodules b/.gitmodules index b0a0ae7..63378a8 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 6ce8d29..03dfef6 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 ded34bf..b690afe 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))