serai/substrate
Luke Parker 62fa31de07
If the pool has yet to start, insert a price of 0
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.
2023-12-05 12:29:36 -05:00
..
client DKG Removals (#467) 2023-12-04 07:04:44 -05:00
coins Ensure economic security on validator sets (#459) 2023-12-05 08:52:50 -05:00
dex/pallet If the pool has yet to start, insert a price of 0 2023-12-05 12:29:36 -05:00
in-instructions Remove subxt (#460) 2023-11-28 02:29:50 -05:00
node Replace bincode with borsh (#452) 2023-11-25 04:01:11 -05:00
primitives Ensure economic security on validator sets (#459) 2023-12-05 08:52:50 -05:00
runtime Ensure economic security on validator sets (#459) 2023-12-05 08:52:50 -05:00
signals/pallet Enable the signals pallet to halt networks' publication of Batchs 2023-11-24 19:56:57 -05:00
validator-sets Don't allow immediate deallocations for active validators even if the key shares remain the same 2023-12-05 09:36:41 -05:00