tests for update #23
Labels
📃 contracts
Anything related to the DFMM contracts (or strategies)
🧹 improvement
Code improvements or cleanup
🧪 tests
Tests
Milestone
DFMM/src/LogNormal/LogNormal.sol
Lines 250 to 280 in e64e222
This function is externally exposed in the core dfmm contract
update()
which can be called by anyone. I'm pretty sure it is possible to update the pool to a state that would require the arbitrageur to deposit funds into the pool (+ both sides), which they would not be incentivized to do. This would lead to a pool that does not get arbitraged after update. But, I'm not sure. We should work on some dedicated tests for this to figure it out, and get the insights on this behavior from the simThe text was updated successfully, but these errors were encountered: