Price deviation as is can be circumvented by making smaller trades in a loop
Description
The price deviation check will look at the last price snapshots; however, it does not actually enforce that these are from past blocks.
Thus, attackers may split a trade in smaller trades and incrementally increase the price.
Recommendation
Store the price of the previous block.
Status
Addressed in #089ec00