File tree Expand file tree Collapse file tree
packages/permissionless-test/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,56 +258,3 @@ export const testWithRpc = test.extend<{
258258} )
259259
260260export { createAutoBundleTransport }
261-
262- // Keep getInstances export for backwards compatibility (standalone trio, used in docs references)
263- export const getInstances = async ( {
264- anvilPort,
265- altoPort,
266- paymasterPort
267- } : { anvilPort : number ; altoPort : number ; paymasterPort : number } ) => {
268- const anvilRpc = `http://localhost:${ anvilPort } `
269- const altoRpc = `http://localhost:${ altoPort } `
270-
271- const anvilInstance = forkUrl
272- ? anvil ( {
273- chainId : foundry . id ,
274- port : anvilPort ,
275- hardfork : "Prague" ,
276- forkUrl
277- } )
278- : anvil ( {
279- chainId : foundry . id ,
280- hardfork : "Prague" ,
281- port : anvilPort
282- } )
283-
284- const altoInstance = alto ( {
285- entrypoints : [
286- entryPoint06Address ,
287- entryPoint07Address ,
288- entryPoint08Address
289- ] ,
290- rpcUrl : anvilRpc ,
291- executorPrivateKeys : [ anvilPrivateKey ] ,
292- safeMode : false ,
293- port : altoPort ,
294- utilityPrivateKey : anvilPrivateKey
295- } )
296-
297- const paymasterInstance = paymaster ( {
298- anvilRpc,
299- port : paymasterPort ,
300- altoRpc
301- } )
302-
303- await anvilInstance . start ( )
304-
305- if ( ! forkUrl ) {
306- await setupContracts ( anvilRpc )
307- }
308-
309- await altoInstance . start ( )
310- await paymasterInstance . start ( )
311-
312- return [ anvilInstance , altoInstance , paymasterInstance ]
313- }
You can’t perform that action at this time.
0 commit comments