diff --git a/packages/accounts/src/kernel-zerodev/__tests__/mocks/mock-signer.ts b/packages/accounts/src/kernel-zerodev/__tests__/mocks/mock-signer.ts
index 5239cb15d6..2f01312f8f 100644
--- a/packages/accounts/src/kernel-zerodev/__tests__/mocks/mock-signer.ts
+++ b/packages/accounts/src/kernel-zerodev/__tests__/mocks/mock-signer.ts
@@ -4,12 +4,11 @@ import type {
SignTypedDataParams,
SmartAccountSigner,
} from "@alchemy/aa-core";
-import { AA_SDK_TESTS_SIGNER_TYPE } from "@alchemy/aa-core";
export class MockSigner implements SmartAccountSigner {
inner: any;
- signerType = AA_SDK_TESTS_SIGNER_TYPE;
+ signerType = "aa-sdk-tests";
getAddress(): Promise
{
return Promise.resolve("0x48D4d3536cDe7A257087206870c6B6E76e3D4ff4");
diff --git a/packages/accounts/src/kernel-zerodev/e2e-tests/kernel-account.test.ts b/packages/accounts/src/kernel-zerodev/e2e-tests/kernel-account.test.ts
index 5b1992f1b2..5a69fab63f 100644
--- a/packages/accounts/src/kernel-zerodev/e2e-tests/kernel-account.test.ts
+++ b/packages/accounts/src/kernel-zerodev/e2e-tests/kernel-account.test.ts
@@ -1,5 +1,4 @@
import {
- AA_SDK_TESTS_SIGNER_TYPE,
getDefaultEntryPointAddress,
type BatchUserOperationCallData,
type SmartAccountSigner,
@@ -39,7 +38,7 @@ describe("Kernel Account Tests", () => {
const ownerAccount = mnemonicToAccount(OWNER_MNEMONIC);
const owner: SmartAccountSigner = {
inner: ownerAccount,
- signerType: AA_SDK_TESTS_SIGNER_TYPE,
+ signerType: "aa-sdk-tests",
signMessage: async (msg) =>
ownerAccount.signMessage({
message: { raw: toHex(msg) },
diff --git a/packages/accounts/src/kernel-zerodev/e2e-tests/mocks/mock-signer.ts b/packages/accounts/src/kernel-zerodev/e2e-tests/mocks/mock-signer.ts
index ce88d589b2..2099500596 100644
--- a/packages/accounts/src/kernel-zerodev/e2e-tests/mocks/mock-signer.ts
+++ b/packages/accounts/src/kernel-zerodev/e2e-tests/mocks/mock-signer.ts
@@ -1,5 +1,4 @@
import {
- AA_SDK_TESTS_SIGNER_TYPE,
type Address,
type Hex,
type SignTypedDataParams,
@@ -11,7 +10,7 @@ import { OWNER_MNEMONIC } from "../constants.js";
export class MockSigner implements SmartAccountSigner {
inner = mnemonicToAccount(OWNER_MNEMONIC);
- signerType = AA_SDK_TESTS_SIGNER_TYPE;
+ signerType = "aa-sdk-tests";
getAddress(): Promise {
return Promise.resolve("0x48D4d3536cDe7A257087206870c6B6E76e3D4ff4");
diff --git a/packages/accounts/src/kernel-zerodev/validator/__tests__/mocks/mock-signer-validator.ts b/packages/accounts/src/kernel-zerodev/validator/__tests__/mocks/mock-signer-validator.ts
index f6ebdef123..4c48feb31a 100644
--- a/packages/accounts/src/kernel-zerodev/validator/__tests__/mocks/mock-signer-validator.ts
+++ b/packages/accounts/src/kernel-zerodev/validator/__tests__/mocks/mock-signer-validator.ts
@@ -1,5 +1,4 @@
import {
- AA_SDK_TESTS_SIGNER_TYPE,
type Address,
type Hex,
type SignTypedDataParams,
@@ -9,7 +8,7 @@ import {
export class MockSignerValidator implements SmartAccountSigner {
inner: any;
- signerType = AA_SDK_TESTS_SIGNER_TYPE;
+ signerType = "aa-sdk-tests";
signTypedData(_params: SignTypedDataParams): Promise<`0x${string}`> {
return Promise.resolve("0xMOCK_SIGN_TYPED_DATA");
diff --git a/packages/alchemy/e2e-tests/simple-account.test.ts b/packages/alchemy/e2e-tests/simple-account.test.ts
index eacdbab332..b5174f154f 100644
--- a/packages/alchemy/e2e-tests/simple-account.test.ts
+++ b/packages/alchemy/e2e-tests/simple-account.test.ts
@@ -2,7 +2,6 @@ import {
SimpleSmartContractAccount,
getDefaultSimpleAccountFactoryAddress,
type SmartAccountSigner,
- AA_SDK_TESTS_SIGNER_TYPE,
} from "@alchemy/aa-core";
import { Alchemy, Network } from "alchemy-sdk";
import { toHex, type Address, type Chain, type Hash } from "viem";
@@ -23,7 +22,7 @@ describe("Simple Account Tests", () => {
}),
signTypedData: async () => "0xHash",
getAddress: async () => ownerAccount.address,
- signerType: AA_SDK_TESTS_SIGNER_TYPE,
+ signerType: "aa-sdk-tests",
};
it("should successfully get counterfactual address", async () => {
diff --git a/packages/alchemy/src/__tests__/provider.test.ts b/packages/alchemy/src/__tests__/provider.test.ts
index 6eb991356a..b0250d1a5d 100644
--- a/packages/alchemy/src/__tests__/provider.test.ts
+++ b/packages/alchemy/src/__tests__/provider.test.ts
@@ -23,7 +23,7 @@ describe("Alchemy Provider Tests", () => {
}),
signTypedData: async () => "0xHash",
getAddress: async () => ownerAccount.address,
- signerType: AACoreModule.AA_SDK_TESTS_SIGNER_TYPE,
+ signerType: "aa-sdk-tests",
};
const chain = polygonMumbai;
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index f939db7bfc..530ffd8227 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -18,7 +18,6 @@ export type {
SmartAccountSigner,
SmartAccountAuthenticator,
} from "./signer/types.js";
-export { AA_SDK_TESTS_SIGNER_TYPE } from "./signer/types.js";
export {
verifyEIP6492Signature,
wrapSignatureWith6492,
diff --git a/packages/core/src/signer/types.ts b/packages/core/src/signer/types.ts
index d8032d8004..d19a9d7e6e 100644
--- a/packages/core/src/signer/types.ts
+++ b/packages/core/src/signer/types.ts
@@ -41,5 +41,3 @@ export interface SmartAccountSigner {
signTypedData: (params: SignTypedDataParams) => Promise;
}
-
-export const AA_SDK_TESTS_SIGNER_TYPE = "aa-sdk-tests";