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

Issue in creating reward #252

Open
siddharth-khurana opened this issue Jan 24, 2025 · 1 comment
Open

Issue in creating reward #252

siddharth-khurana opened this issue Jan 24, 2025 · 1 comment

Comments

@siddharth-khurana
Copy link

Hi team, I am trying to create a reward pool and sdk fails with

Error in creating reward pool ContractError: Simulation failed.
Message: failed to simulate transaction: {"InstructionError":[2,{"Custom":102}]}.
Logs:
[
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program RWRDdfRbi3339VgKxTAXg4cjyniF7cbhNbMxZWiSKmj invoke [1]",
"Program log: Instruction: CreatePool",
"Program log: AnchorError occurred. Error Code: InstructionDidNotDeserialize. Error Number: 102. Error Message: The program could not deserialize the given instruction.",
"Program RWRDdfRbi3339VgKxTAXg4cjyniF7cbhNbMxZWiSKmj consumed 3913 of 199700 compute units",
"Program RWRDdfRbi3339VgKxTAXg4cjyniF7cbhNbMxZWiSKmj failed: custom program error: 0x66"
].

Node version - v20.10.0

Deps
"@streamflow/staking": "^7.1.1",
"@streamflow/stream": "^7.1.1",

@streamflow-finance streamflow-finance deleted a comment Jan 24, 2025
@RolginRoman
Copy link
Contributor

RolginRoman commented Jan 24, 2025

Hello,
Please provide code snippets where you

  • Initialize @streamlow/staking SolanaStakingClient
  • Fetch and access stake pool / reward pool properties

along with information about the used network (mainnet-beta or devnet) and stake pool addresses.


"@streamflow/staking": "^7.1.1",
"@streamflow/stream": "^7.1.1",

what exact versions do you use?

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