Gearbox-protocol / core-v3

Other
28 stars 4 forks source link

feat: simplify `TumblerV3`'s deployment #288

Closed lekhovitsky closed 3 weeks ago

lekhovitsky commented 3 weeks ago

Previously, TumblerV3's constructor was accepting pool as argument and reading poolQuotaKeeper from there. This caused complications in deployments since it required a configurator-only function setPoolQuotaKeeper to be called between contract creations. This PR changes the constructor to accept poolQuotaKeeper instead of the pool, which allows to deploy contracts first and configure them later. Note that this is the only occurrence of such issue in core contracts.

github-actions[bot] commented 3 weeks ago

:tada: This PR is included in version 1.50.0-next.21 :tada:

The release is available on:

Your semantic-release bot :package::rocket: