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

Error Code: AccountBorrowFailed #114

Open
myato1023 opened this issue Oct 29, 2024 · 0 comments
Open

Error Code: AccountBorrowFailed #114

myato1023 opened this issue Oct 29, 2024 · 0 comments

Comments

@myato1023
Copy link

myato1023 commented Oct 29, 2024

When CPI Meteora contract,especially invoke add_liquidity in owner contract, Errors caused
this is error.
'Program ComputeBudget111111111111111111111111111111 invoke [1]',
'Program ComputeBudget111111111111111111111111111111 success',
'Program 3AcARFk5m8fDTL6gKZc1F4HirF8zFn89NGjTEo9SaNTM invoke [1]',
'Program log: Instruction: AddMeteoraLiquidity',
'Program log: Add Liquidity into Meteora Pool',
'Program log: 10000000000, 1000000000000, 7, 8, 56',
'Program LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo invoke [2]',
'Program log: Instruction: AddLiquidity',
'Program log: ProgramError occurred. Error Code: AccountBorrowFailed. Error Number: 51539607552. Error Message: Failed to borrow a reference to account data, already borrowed.',
'Program LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo consumed 26107 of 372010 compute units',
'Program LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo failed: instruction tries to borrow reference for an account which is already borrowed',

LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo is Meteora contranct address.

i gonna fix these errors.
Hope your help

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

1 participant