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

Cli: solido deposit doesn't work #545

Open
yihaiy opened this issue Mar 22, 2022 · 1 comment
Open

Cli: solido deposit doesn't work #545

yihaiy opened this issue Mar 22, 2022 · 1 comment

Comments

@yihaiy
Copy link

yihaiy commented Mar 22, 2022

solido --cluster https://api.mainnet-beta.solana.com --keypair-path /home/xx/mywallet.json --output json deposit --amount-sol 10000000 --solido-address 49Yi1TKkNyYjPAFdR9LBvoHcUjuPX4Df5T5yv39w2XTn --solido-program-id CrX7kMhLC3cSsXJdT7JDgqrRVWGnUpX3gfEfxxU2NVLi
Failed to deposit.
Solana RPC client returned an error:

Request: Some(SendTransaction)
Kind: RPC response error
Error code: -32002
Message: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1
Reason: Transaction preflight failure
Error:

Raw:      InstructionError(0, Custom(1))
Display:  Error processing Instruction 0: custom program error: 0x1

Error code interpretations:

Solido error 1 is InvalidOwner
Error 1 is not a known Multisig error.
Error 1 is not a known Anker error.

Logs:

Program CrX7kMhLC3cSsXJdT7JDgqrRVWGnUpX3gfEfxxU2NVLi invoke [1]
Program 11111111111111111111111111111111 invoke [2]
Transfer: insufficient lamports 497950720, need 10000000000000000
Program 11111111111111111111111111111111 failed: custom program error: 0x1
Program CrX7kMhLC3cSsXJdT7JDgqrRVWGnUpX3gfEfxxU2NVLi consumed 20514 of 200000 compute units
Program CrX7kMhLC3cSsXJdT7JDgqrRVWGnUpX3gfEfxxU2NVLi failed: custom program error: 0x1
@yihaiy yihaiy changed the title Cli: deposit doesn't work Cli: solido deposit doesn't work Mar 22, 2022
@ruuda
Copy link
Contributor

ruuda commented Mar 22, 2022

You are trying to transfer more than you have:

Transfer: insufficient lamports 497950720, need 10000000000000000

The --amount-sol 10000000 seems a bit outrageous. Note that it is in SOL, not Lamports!

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