diff --git a/packages/cli/src/deploy/getDeployClient.ts b/packages/cli/src/deploy/getDeployClient.ts index fa7b259d79..742809e59e 100644 --- a/packages/cli/src/deploy/getDeployClient.ts +++ b/packages/cli/src/deploy/getDeployClient.ts @@ -1,7 +1,6 @@ import { transactionQueue } from "@latticexyz/common/actions"; import { rhodolite } from "@latticexyz/common/chains"; import { claimGasPass, getAllowance, hasPassIssuer, gasEstimator } from "@latticexyz/paymaster/internal"; -import { wiresaw } from "@latticexyz/wiresaw/internal"; import { smartAccountActions } from "permissionless"; import { toSimpleSmartAccount } from "permissionless/accounts"; import { @@ -34,11 +33,9 @@ export async function getDeployClient(opts: { const chainId = await getChainId(createClient({ transport: http(opts.rpcUrl) })); const chain: Chain | undefined = knownChains.find((c) => c.id === chainId); - const transport = wiresaw( - http(opts.rpcUrl, { - batch: opts.rpcBatch ? { batchSize: 100, wait: 1000 } : undefined, - }), - ); + const transport = http(opts.rpcUrl, { + batch: opts.rpcBatch ? { batchSize: 100, wait: 1000 } : undefined, + }); const clientOptions = { chain, @@ -62,7 +59,7 @@ export async function getDeployClient(opts: { const bundlerClient = createBundlerClient({ chain, // TODO: figure out how to remove gas estimator (currently times out if not present) - transport: gasEstimator(wiresaw(http(bundlerHttpUrl))), + transport: gasEstimator(http(bundlerHttpUrl)), account, paymaster: { getPaymasterData: async () => ({