Skip to content

Commit

Permalink
fixup! test(multichain): fast-usdc performance
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Jan 21, 2025
1 parent dd2d28b commit da1ba0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multichain-testing/test/fast-usdc/fast-usdc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
makeBlocksIterable,
queryBlock,
} from '@agoric/client-utils/src/chain.js';
import { makeAPI } from '@agoric/client-utils/src/grpc-rest-api.js';
import { encodeAddressHook } from '@agoric/cosmic-proto/address-hooks.js';
import type { QueryBalanceResponseSDKType } from '@agoric/cosmic-proto/cosmos/bank/v1beta1/query.js';
import { AmountMath } from '@agoric/ertp';
Expand Down Expand Up @@ -53,6 +52,7 @@ const makeTestContext = async t => {
faucetTools,
provisionSmartWallet,
startContract,
useChain,
} = common;
await deleteTestKeys(accounts).catch();
const wallets = await setupTestKeys(accounts, values(oracleMnemonics));
Expand Down Expand Up @@ -94,7 +94,7 @@ const makeTestContext = async t => {
const feeUser = await provisionSmartWallet(wallets['feeDest'], { BLD: 100n });

const { vstorageClient } = common;
const api = makeAPI({ fetch });
const api = makeQueryClient(await useChain('agoric').getRestEndpoint());
const now = () => Date.now();
const blockIter = makeBlocksIterable({
api,
Expand Down

0 comments on commit da1ba0d

Please sign in to comment.