All Questions
Tagged with program solana-cli
4
questions
0
votes
1
answer
40
views
Can't run local validator on MAC
Hello I'm getting the following error:
Error: failed to start validator: Failed to create ledger at test-ledger: io error: Error checking to unpack genesis archive: Archive error: extra entry found: &...
0
votes
1
answer
71
views
Deploying program with sol_remaining_compute_units() gives "invalid account data"
Including something like
msg!("remaining compute: {}", solana_program::compute_units::sol_remaining_compute_units());
will lead to error when deploying
RPC URL: https://api.devnet.solana....
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 ...
1
vote
0
answers
18
views
Question about solana programs
Why is it recommended that solana programs check the validity of any account it reads, but does not modify?