Skip to main content

All Questions

Tagged with
0 votes
1 answer
45 views

Tx Reverting Even If Internal CPI Fails

Creating a CPI call, since it returns a Result. If the internal call throws an error, err should have an err() field as per the definition. The whole transaction should not revert, but it is reverting....
Priyanshu Mishra's user avatar
3 votes
1 answer
549 views

Is it possible to invoke a program using solana cli?

I'm using anchor framework to write and deploy programs in solana blockchain. I run solana-test-validator and then use anchor deploy to deploy my simple hello-world program. It gives me the programs ...
Amir reza Riahi's user avatar
0 votes
2 answers
210 views

How do I use PDA account to pay for new PDA account

I am struggling to successfully create a PDA account (pdaUSER) paid for by another PDA account. I am doing it like this, and it does not work: invoke_signed( &system_instruction::...
Blair Munro's user avatar