From eefe2b8fca62b3d29faf90f4876571ae116945ad Mon Sep 17 00:00:00 2001 From: 9547 <29431502+9547@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:43:38 +0800 Subject: [PATCH] chore(zksync-era): rm not used imports --- packages/plugin-zksync-era/src/actions/transfer.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/plugin-zksync-era/src/actions/transfer.ts b/packages/plugin-zksync-era/src/actions/transfer.ts index 78d81d389af..91a1b175693 100644 --- a/packages/plugin-zksync-era/src/actions/transfer.ts +++ b/packages/plugin-zksync-era/src/actions/transfer.ts @@ -14,12 +14,7 @@ import { import { validateZKsyncConfig } from "../enviroment"; import { Web3 } from "web3"; -import { - ZKsyncPlugin, - ZKsyncWallet, - types, - Web3ZKsyncL2, -} from "web3-plugin-zksync"; +import { ZKsyncPlugin, types, Web3ZKsyncL2 } from "web3-plugin-zksync"; export interface TransferContent extends Content { tokenAddress: string; @@ -89,7 +84,7 @@ export default { "PAY_ON_ZKSYNC", "PAY_ON_ERA", ], - validate: async (runtime: IAgentRuntime, message: Memory) => { + validate: async (runtime: IAgentRuntime, _message: Memory) => { await validateZKsyncConfig(runtime); return true; },