Skip to content

Commit

Permalink
fix: format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anilhelvaci committed Oct 14, 2024
1 parent 975b7c5 commit 6910996
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions a3p-integration/proposals/z:acceptance/test-lib/psm-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ const VOTING_WAIT_MS = 65 * 1000;

/**
* Import from synthetic-chain once it is updated
*
* @param {string} addr
* @param {string} wanted
* @param {string} [from]
* @returns
*
* @param {string} addr
* @param {string} wanted
* @param {string} [from]
*/
export const bankSend = (addr, wanted, from = VALIDATORADDR) => {
const chain = ['--chain-id', CHAINID];
Expand Down Expand Up @@ -205,10 +204,7 @@ export const checkGovParams = async (t, expected, psmName) => {
export const initializeNewUser = async (name, fund) => {
const psmTrader = await addUser(name);
await Promise.all([
bankSend(
psmTrader,
`20000000ubld,${fund.value}${fund.denom}`,
),
bankSend(psmTrader, `20000000ubld,${fund.value}${fund.denom}`),
bankSend(psmTrader, `1000000uist`, GOV1ADDR),
]);
};
Expand Down Expand Up @@ -300,7 +296,6 @@ export const checkSwapSucceeded = async (
balancesBefore,
tradeInfo,
) => {

const [metricsAfter, balancesAfter] = await Promise.all([
agoric
.follow(
Expand Down Expand Up @@ -421,10 +416,10 @@ export const adjustBalancesIfNotProvisioned = async (balances, address) => {
};

/**
*
* @param {any} t
* @param {string} address
* @param {Record<any, any>} metricsBefore
*
* @param {any} t
* @param {string} address
* @param {Record<any, any>} metricsBefore
*/
export const checkSwapExceedMintLimit = async (t, address, metricsBefore) => {
const [offerResult, metricsAfter] = await Promise.all([
Expand Down

0 comments on commit 6910996

Please sign in to comment.