File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
a3p-integration/proposals/f:fast-usdc Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11// @ts -check
2- /* global globalThis */
2+ /* eslint-env node */
33import test from 'ava' ;
44import '@endo/init/legacy.js' ; // axios compat
5- import { makeVstorageKit } from '@agoric/client-utils' ;
5+ import { makeSmartWalletKit } from '@agoric/client-utils' ;
66
7- const io = { fetch : globalThis . fetch } ;
7+ const io = {
8+ delay : ms => new Promise ( resolve => setTimeout ( ( ) => resolve ( undefined ) , ms ) ) ,
9+ fetch : global . fetch ,
10+ } ;
811const networkConfig = {
912 rpcAddrs : [ 'http://0.0.0.0:26657' ] ,
1013 chainName : 'agoriclocal' ,
1114} ;
1215
1316test ( 'fastUsdc is in agoricNames.instance' , async t => {
14- const { agoricNames } = await makeVstorageKit ( io , networkConfig ) ;
17+ const { agoricNames } = await makeSmartWalletKit ( io , networkConfig ) ;
1518
1619 t . log ( 'agoricNames.instance keys' , Object . keys ( agoricNames . instance ) ) ;
1720 t . truthy ( agoricNames . instance . fastUsdc ) ;
You can’t perform that action at this time.
0 commit comments