Problem with signing SystemProgram.createAccount
instruction after updating Solana mainnet
#32650
Labels
community
Community contribution
I have a program deployed on the Solana mainnet. Recently, it seems that the mainnet received an update that included some breaking changes. As a result, I encountered an issue with signing transactions that involve the
SystemProgram.createAccount
instruction. Let me share the relevant code snippet:Here's line of code in the repository: https://github.com/invariant-labs/protocol/blob/master/sdk/src/market.ts#L126
When attempting to sign the transaction, I encountered an error message stating: "invalid program argument".
To rule out any wallet-specific issues, I tested the transaction with other wallets like Backpack wallet and Nightly wallet, and the same error persists.
I've noticed that this issue arises when using the latest dependency version:
"@solana/web3.js": "1.78.0"
.The text was updated successfully, but these errors were encountered: