Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
jstinhw authored and github-actions[bot] committed Sep 5, 2024
1 parent 136637e commit 7763055
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/test/v0.7/ecdsaKernelAccount.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import {
zeroAddress
} from "viem"
import { privateKeyToAccount } from "viem/accounts"
import { sepolia } from "viem/chains"
import { EntryPointAbi } from "../abis/EntryPoint.js"
import { GreeterAbi, GreeterBytecode } from "../abis/Greeter.js"
import { TokenActionsAbi } from "../abis/TokenActionsAbi.js"
Expand All @@ -63,7 +64,6 @@ import {
validateEnvironmentVariables,
waitForNonceUpdate
} from "./utils.js"
import { sepolia } from "viem/chains";

dotenv.config()

Expand Down
10 changes: 5 additions & 5 deletions packages/test/v0.7/multiTenantSessionAccount.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-expect-error
import { beforeAll, describe, test } from "bun:test"
import { createKernelCABClient } from "/Users/sh31/code/zerodev/cab"
import {
type KernelAccountClient,
type KernelSmartAccount,
Expand All @@ -27,14 +26,15 @@ import {
type Transport,
createPublicClient,
decodeErrorResult,
decodeFunctionData,
encodeErrorResult,
encodeFunctionData,
parseEther,
zeroAddress,
encodeErrorResult,
decodeFunctionData
zeroAddress
} from "viem"
import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"
import { baseSepolia, optimismSepolia, sepolia } from "viem/chains"
import { createKernelCABClient } from "/Users/sh31/code/zerodev/cab"
import type {
Caveat,
SessionAccount
Expand Down Expand Up @@ -388,7 +388,7 @@ describe("Yi SubAccount", () => {
params: [kernelCabClientOPSepolia.account.address]
})
console.log("CAB balance:", cabBalance)
// @ts-ignore
// @ts-ignore
if (cabBalance?.availableRepayTokens?.length) {
break
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ import {
type Transport,
concatHex,
createPublicClient,
decodeAbiParameters,
encodeAbiParameters,
encodeFunctionData,
pad,
decodeAbiParameters,
isAddressEqual,
pad,
toHex
} from "viem"
import { getChainId } from "viem/actions"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import type { RepayTokenInfo } from "@zerodev/cab"
import {
http,
type Address,
type Hex,
createPublicClient,
encodeAbiParameters,
http
encodeAbiParameters
} from "viem"
import { CAB_PAYMASTER_SERVER_URL } from "../../constants.js"
import type { Caveat } from "../../types.js"
import { type SponsorTokenInfo, cabAllowancesAbiType } from "./utils.js"
import { CAB_PAYMASTER_SERVER_URL } from "../../constants.js"

export type CABPaymasterEnforcerArgs = {
indexes: bigint[]
Expand Down

0 comments on commit 7763055

Please sign in to comment.