diff --git a/clients/js/src/generated/instructions/createNativeMint.ts b/clients/js/src/generated/instructions/createNativeMint.ts index f6cc756..c006dbf 100644 --- a/clients/js/src/generated/instructions/createNativeMint.ts +++ b/clients/js/src/generated/instructions/createNativeMint.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -99,7 +98,6 @@ export type CreateNativeMintInput< nativeMint: Address; /** System program for mint account funding */ systemProgram?: Address; - multiSigners?: Array; }; export function getCreateNativeMintInstruction< @@ -134,31 +132,18 @@ export function getCreateNativeMintInstruction< ResolvedAccount >; - // Original args. - const args = { ...input }; - // Resolve default values. if (!accounts.systemProgram.value) { accounts.systemProgram.value = '11111111111111111111111111111111' as Address<'11111111111111111111111111111111'>; } - // Remaining accounts. - const remainingAccounts: IAccountMeta[] = (args.multiSigners ?? []).map( - (signer) => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - }) - ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); const instruction = { accounts: [ getAccountMeta(accounts.payer), getAccountMeta(accounts.nativeMint), getAccountMeta(accounts.systemProgram), - ...remainingAccounts, ], programAddress, data: getCreateNativeMintInstructionDataEncoder().encode({}), diff --git a/program/idl.json b/program/idl.json index c756bac..818a6ff 100644 --- a/program/idl.json +++ b/program/idl.json @@ -5403,18 +5403,7 @@ } } ], - "remainingAccounts": [ - { - "kind": "instructionRemainingAccountsNode", - "isOptional": true, - "isSigner": true, - "docs": [], - "value": { - "kind": "argumentValueNode", - "name": "multiSigners" - } - } - ], + "remainingAccounts": [], "discriminators": [ { "kind": "fieldDiscriminatorNode",