Skip to content

Commit

Permalink
Merge branch 'jorge/verify-pushed-price' of https://github.com/Agoric…
Browse files Browse the repository at this point in the history
…/agoric-sdk into jorge/verify-pushed-price
  • Loading branch information
Jorge-Lopes committed Oct 28, 2024
2 parents d59c30e + 9080f35 commit a4c52d1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ const tryPushPrices = async t => {
await verifyPushedPrice(13.7, 'stATOM', oraclesByBrand, stAtomRoundId);
atomRoundId += 1;
stAtomRoundId += 1;
await verifyPushedPrice(13.4, 'ATOM', oraclesByBrand, atomRoundId);
await verifyPushedPrice(13.7, 'stATOM', oraclesByBrand, stAtomRoundId);
atomRoundId += 1;
stAtomRoundId += 1;

t.log('awaiting new quotes');
const atomOut = await getPriceQuote('ATOM');
Expand Down Expand Up @@ -98,6 +102,7 @@ const openMarginalVault = async t => {

const triggerAuction = async t => {
await verifyPushedPrice(5.2, 'ATOM', oraclesByBrand, atomRoundId);
await verifyPushedPrice(5.2, 'ATOM', oraclesByBrand, atomRoundId);

const atomOut = await getPriceQuote('ATOM');
t.is(atomOut, '+5200000');
Expand Down

0 comments on commit a4c52d1

Please sign in to comment.