Skip to content

Commit

Permalink
fix: style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anilhelvaci committed Oct 8, 2024
1 parent 50a0e17 commit f1dad49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions a3p-integration/proposals/z:acceptance/auction.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* - Make sure all actors receive the correct payouts
*/


// Typo will be fixed with https://github.com/Agoric/agoric-sdk/pull/10171
/** @typedef {import('./test-lib/sync-tools.js').RetyrOptions} RetryOptions */

Expand Down Expand Up @@ -125,7 +124,10 @@ test.before(async t => {
};

// Get current round id
const round = await agoric.follow('-lF', ':published.priceFeed.ATOM-USD_price_feed.latestRound');
const round = await agoric.follow(
'-lF',
':published.priceFeed.ATOM-USD_price_feed.latestRound',
);
t.context = {
roundId: parseInt(round.roundId),
retryOpts: {
Expand Down Expand Up @@ -168,7 +170,12 @@ test('run auction', async t => {
const [gov1Results, longLivingBidResults, user1Results, gov3Results, brands] =
await Promise.all([
agoric
.follow('-lF', `:published.wallet.${config.depositor.addr}`, '-o', 'text')
.follow(
'-lF',
`:published.wallet.${config.depositor.addr}`,
'-o',
'text',
)
.then(res => marshaller.fromCapData(JSON.parse(res))),
agoric
.follow(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import test from 'ava';
import { checkBidsOutcome, checkDepositOutcome } from './auction-lib.js';
import { GOV3ADDR, USER1ADDR } from '@agoric/synthetic-chain';

// From auction.test.js
// From auction.test.js
const config = {
depositor: {
name: 'gov1',
Expand Down Expand Up @@ -37,7 +37,7 @@ const config = {
offerId: `gov3-bid-${Date.now()}`,
give: '150IST',
discount: '13',
}
},
},
bidsOutcome: {
longLivingBidder: {
Expand Down

0 comments on commit f1dad49

Please sign in to comment.