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);