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

[Bug] Error when submit tx in using WithdrawObligationCollateralAndRedeemReserveCollateral Example #5

Open
gmkbenjamin opened this issue Oct 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gmkbenjamin
Copy link

When I try to submit a transaction using the example code for this pool https://save.finance/dashboard?pool=bQYiravAGVmvBzX8VjaSvMNmiKXcS7q6sDjutQLAQs3, I got the below error:

esult: {"jsonrpc":"2.0","result":{"context":{"apiVersion":"1.18.23","slot":295365858},"value":{"accounts":null,"err":{"InstructionError":[1,{"Custom":5}]},"innerInstructions":null,"logs":["Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo invoke [1]","Program log: Instruction: Refresh Reserve","Program log: Pyth oracle price is too stale!","Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo consumed 43697 of 600000 compute units","Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo success","Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo invoke [1]","Program log: Instruction: Refresh Obligation","Program log: Deposit reserve provided for collateral 0 is not owned by the lending program","Program log: Input account owner is not the program address","Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo consumed 3885 of 556303 compute units","Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo failed: custom program error: 0x5"],"returnData":null,"unitsConsumed":47582}},"id":3}

Transaction Simulation:
Error: Solnet.Rpc.Models.TransactionError
Logs:
Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo invoke [1]
Program log: Instruction: Refresh Reserve
Program log: Pyth oracle price is too stale!
Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo consumed 43697 of 600000 compute units
Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo success
Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo invoke [1]
Program log: Instruction: Refresh Obligation
Program log: Deposit reserve provided for collateral 0 is not owned by the lending program
Program log: Input account owner is not the program address
Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo consumed 3885 of 556303 compute units
Program So1endDq2YkqhipRh3WViPa8hdiSpxWy6z3Z6tMCpAo failed: custom program error: 0x5

@gmkbenjamin gmkbenjamin added the bug Something isn't working label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant