Skip to content

Commit

Permalink
feat(instruction account default rules): add mpl-core program
Browse files Browse the repository at this point in the history
  • Loading branch information
shotgunofdeath committed Mar 12, 2024
1 parent 5b64b7d commit 345700d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/visitors/setInstructionAccountDefaultValuesVisitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@ export const DEFAULT_INSTRUCTION_ACCOUNT_DEFAULT_RULES: InstructionAccountDefaul
),
ignoreIfOptional: true,
},
{
account: /^mplCoreProgram$/,
defaultValue: publicKeyValueNode(
'CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d',
'mplCore'
),
ignoreIfOptional: true,
},
];

export function setInstructionAccountDefaultValuesVisitor(
Expand Down

0 comments on commit 345700d

Please sign in to comment.