Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add .clone(vault) method to proxy-able BaseStrategy #214

Merged
merged 4 commits into from
Feb 24, 2021

Conversation

fubuloubu
Copy link
Member

This PR simplfiies the logic for creating a clone of a strategy that inherits the BaseStrategyInitializable proxy-enabled base class.

contracts/BaseStrategy.sol Outdated Show resolved Hide resolved
@fubuloubu fubuloubu force-pushed the refactor/strategy-clone branch from 8a6bee0 to eaa659b Compare February 23, 2021 21:30
@poolpitako
Copy link
Contributor

Looks good 👍

@fubuloubu
Copy link
Member Author

I couldn't figure out why the failure happens locally, rerunning CI to see if it's just being flakey

@fubuloubu fubuloubu merged commit f6ecaca into master Feb 24, 2021
@fubuloubu fubuloubu deleted the refactor/strategy-clone branch February 24, 2021 16:25
orbxball pushed a commit to orbxball/yearn-vaults that referenced this pull request Aug 8, 2021
…n#214)

* refactor: add `.clone(vault)` method to proxy-able BaseStrategy
* refactor: add ability to choose overloaded clone
* fix: intitialize strategy with different roles

Co-authored-by: poolpitako <78830419+poolpitako@users.noreply.github.com>
sambacha pushed a commit to sambacha/yearn-vaults that referenced this pull request Sep 7, 2021
…n#214)

* refactor: add `.clone(vault)` method to proxy-able BaseStrategy
* refactor: add ability to choose overloaded clone
* fix: intitialize strategy with different roles

Co-authored-by: poolpitako <78830419+poolpitako@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants