mirror of
https://github.com/serai-dex/serai.git
synced 2024-10-30 08:57:36 +00:00
62fa31de07
The test failures were caused by not inserting any price, causing the first price to immediately become the oraclized price. While that's not inherently invalid, suggesting the tests should've been the ones updated, it opens an exploit where whoever first adds liquidity has the opportunity to set a ridiculous price and DoS the set. Not oraclizing until we have an entire period, achieved by inserting 0s during the initial blocks, ensures an open launch for such discovery. |
||
---|---|---|
.. | ||
pallet |