Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendTransaction not working. #57

Closed
martinlasek opened this issue Sep 8, 2022 · 1 comment
Closed

sendTransaction not working. #57

martinlasek opened this issue Sep 8, 2022 · 1 comment

Comments

@martinlasek
Copy link
Contributor

Hey, I am getting an error back when trying to execute a transaction.
Someone from the crypto community said I'd need to also send along

skipPreflight=true since it's by default false as per Solana Documentation.

However this SDK does not provide the option to set the skipPreflight to true.

{
  "jsonrpc": "2.0",
    "error": {
      "code": -32002,
      "message": "Transaction simulation failed: Error processing Instruction 2: custom program error: 0xbc4",
      ...
    }
  }
}
@martinlasek martinlasek changed the title sendTransaction not working (missing skipPreflight=true possibility?) sendTransaction not working. Sep 8, 2022
@martinlasek
Copy link
Contributor Author

This issue is solved by adding skipPreflight to the RequestConfiguration. Please merge PR-58.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants