From fdbd1e07f7f8bb65fd7e5bcd481d6899208f316c Mon Sep 17 00:00:00 2001 From: Christophe Date: Wed, 26 Jun 2024 16:01:19 +0000 Subject: [PATCH] Rename type --- src/actions/setKeyset.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/actions/setKeyset.ts b/src/actions/setKeyset.ts index d71c1212..1a300272 100644 --- a/src/actions/setKeyset.ts +++ b/src/actions/setKeyset.ts @@ -11,7 +11,7 @@ import { sequencerInbox } from '../contracts'; import { ActionParameters, WithAccount } from '../types/Actions'; import { Prettify } from '../types/utils'; -export type SetKeysetParameters = Prettify< +export type SetKeysetActionParameters = Prettify< WithAccount< ActionParameters< { @@ -25,7 +25,7 @@ export type SetKeysetParameters = Prettify< export type SetKeysetReturnType = PrepareTransactionRequestReturnType; -function sequencerInboxFunctionData({ keyset }: SetKeysetParameters) { +function sequencerInboxFunctionData({ keyset }: SetKeysetActionParameters) { return encodeFunctionData({ abi: sequencerInbox.abi, functionName: 'setValidKeyset', @@ -35,7 +35,7 @@ function sequencerInboxFunctionData({ keyset }: SetKeysetParameters) { export async function setKeyset( client: PublicClient, - args: SetKeysetParameters, + args: SetKeysetActionParameters, ): Promise { const data = sequencerInboxFunctionData(args);