gildlab / ethgild

Other
2 stars 3 forks source link

test for oracle vault for multiple prices and historical redemptions #177

Closed thedavidmeister closed 2 days ago

thedavidmeister commented 1 week ago

test to show that the

  1. oracle can mint (both mint and deposit need to be tested) several different receipt IDs by changing its price
  2. the oracle price changes again without minting
  3. burns (both withdraw and redeem need to be tested) cannot be done at the new oracle price, and must always be done for historical receipt prices only (check amounts, so that burn amounts and prices are 1:1 with each of the previous prices)