Warning for anyone interacting with @syncswap on zkSync.
25 Jul 2023, 18:11
Warning for anyone interacting with @syncswap on zkSync⚠️⚠️⚠️
`_updateReserves` is called AFTER the `syncSwapBaseMintCallback` and `syncSwapBaseBurnCallback`
This results in read-only reentrancy where the data on the pool contract is stale and thus cannot be used as an oracle 😭😭😭