enzymefinance / protocol

Enzyme Protocol Implementation

Home Page:https://enzyme.finance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow forcing partial redeployment only, regardless of config

SeanJCasey opened this issue · comments

The current functionality is that partialRedeploy will actually only be partial if using a deploy_out_ file. Allowing this function to force partial redeployment of an explicit set of contracts is helpful for instantiating multiple funds in the same test file, since the Version contract (and only that contract) needs to be re-deployed to allow a single manager to create subsequent funds. This will substantially cut down on execution time for unit tests where we only redeploy funds rather than the entire system between tests.