Gravita-Protocol / Gravita-SmartContracts

GNU General Public License v3.0
49 stars 31 forks source link

The `_leftSumColls` function in **StabilityPool** it's used only in the tests #317

Closed rotcivegaf closed 1 year ago

rotcivegaf commented 1 year ago

https://github.com/Gravita-Protocol/Gravita-SmartContracts/blob/6f41018b0832ce6e1465fad5c0f8170f47febb3b/contracts/StabilityPool.sol#L864-L891

Description

This function it's used only in the tests

Recommendation

Move this one to the tests contract, Look: #316

0xfornax commented 1 year ago

We appreciate the submission. We removed the function from the contract to save on the deployment gas.