Skip to content

Commit

Permalink
Rename type
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Jun 27, 2024
1 parent 46e32e0 commit fdbd1e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actions/setKeyset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { sequencerInbox } from '../contracts';
import { ActionParameters, WithAccount } from '../types/Actions';
import { Prettify } from '../types/utils';

export type SetKeysetParameters<Curried extends boolean = false> = Prettify<
export type SetKeysetActionParameters<Curried extends boolean = false> = Prettify<
WithAccount<
ActionParameters<
{
Expand All @@ -25,7 +25,7 @@ export type SetKeysetParameters<Curried extends boolean = false> = Prettify<

export type SetKeysetReturnType = PrepareTransactionRequestReturnType;

function sequencerInboxFunctionData({ keyset }: SetKeysetParameters) {
function sequencerInboxFunctionData({ keyset }: SetKeysetActionParameters) {
return encodeFunctionData({
abi: sequencerInbox.abi,
functionName: 'setValidKeyset',
Expand All @@ -35,7 +35,7 @@ function sequencerInboxFunctionData({ keyset }: SetKeysetParameters) {

export async function setKeyset<TChain extends Chain | undefined>(
client: PublicClient<Transport, TChain>,
args: SetKeysetParameters,
args: SetKeysetActionParameters,
): Promise<SetKeysetReturnType> {
const data = sequencerInboxFunctionData(args);

Expand Down

0 comments on commit fdbd1e0

Please sign in to comment.