Skip to content

Commit

Permalink
chore: testnetParams
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler committed Dec 9, 2024
1 parent 7420df9 commit 0dd2016
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/sdk/clients/createBicoPaymasterClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
describe.runIf(paymasterTruthy())("bico.paymaster", async () => {
let network: NetworkConfig
// Required for "TESTNET_FROM_ENV_VARS" networks
let callss: TestnetParams
let testnetParams: TestnetParams

let chain: Chain
let bundlerUrl: string
Expand Down Expand Up @@ -67,7 +67,7 @@ describe.runIf(paymasterTruthy())("bico.paymaster", async () => {
transport: http()
})

callss = getTestParamsForTestnet(publicClient)
testnetParams = getTestParamsForTestnet(publicClient)

paymaster = createBicoPaymasterClient({
transport: http(paymasterUrl)
Expand All @@ -77,7 +77,7 @@ describe.runIf(paymasterTruthy())("bico.paymaster", async () => {
signer: account,
chain,
transport: http(),
...callss
...testnetParams
})

bicoBundler = createBicoBundlerClient({
Expand All @@ -93,7 +93,7 @@ describe.runIf(paymasterTruthy())("bico.paymaster", async () => {
transport: http(),
bundlerTransport: http(bundlerUrl),
paymaster,
...callss
...testnetParams
})
})
afterAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/clients/decorators/mee/getFeeQuote.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Hex } from "viem"
import type { Address } from "viem/accounts"
import { AccountNotFoundError } from "../../../account/utils/AccountNotFound"
import type { Call } from "../../../account/utils/Types"
import type { AnyData, ModularSmartAccount } from "../../../modules/utils/Types"
import type { BaseMeeService } from "../../createMeeService"
import type { Hex } from "viem"

const DEFAULT_GAS_LIMIT = 1000000n
export type GetFeeQuote = AnyData
Expand Down

0 comments on commit 0dd2016

Please sign in to comment.