Skip to content

Commit

Permalink
Remove unneeded fields from error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mcintyre94 committed Feb 29, 2024
1 parent 8f6b127 commit 13f8a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/errors/src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ export const SolanaErrorMessages: Readonly<{
[SOLANA_ERROR__BLOCK_HEIGHT_EXCEEDED]:
'The network has progressed past the last block for which this transaction could have been committed.',
[SOLANA_ERROR__EXPECTED_INSTRUCTION_TO_HAVE_ACCOUNTS]:
'The instruction with program address `$programAddress` and data `$data` does not have any accounts.',
'The instruction does not have any accounts.',
[SOLANA_ERROR__EXPECTED_INSTRUCTION_TO_HAVE_DATA]:
'The instruction with program address `$programAddress` and accounts `$accountAddresses` does not have any data.',
'The instruction does not have any data.',
[SOLANA_ERROR__INSTRUCTION_ERROR_ACCOUNT_ALREADY_INITIALIZED]: 'instruction requires an uninitialized account',
[SOLANA_ERROR__INSTRUCTION_ERROR_ACCOUNT_BORROW_FAILED]:
'instruction tries to borrow reference for an account which is already borrowed',
Expand Down

0 comments on commit 13f8a02

Please sign in to comment.