Skip to content

Cli: solido deposit doesn't work #545

@yihaiy

Description

@yihaiy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions