All Questions
Tagged with deploy solana-cli
14 questions
2
votes
1
answer
48
views
Unable to deploy solana smart contract on mainnet
Deploying the solana smart contract on devnet works well, but if I try to deploy the smart contract on mainnet it doesnt work.
I got this error so many times.
I tried it with so many solana versions.
...
1
vote
1
answer
80
views
anchor deploy does not work
I try to deploy my contract using anchor, but i get this error:
Error: RPC request error: cluster version query failed: error sending request for url (http://127.0.0.1:8899/): error trying to connect: ...
1
vote
0
answers
40
views
Error: Data writes to account failed: Custom error: Max retries exceeded while deployment
I am using QuickNode to manage the RPC Endpoint. The program was closed automatically from the BlockChain and when I try to deploy the same program, it shows me these errors:
0
votes
0
answers
27
views
Can't create Reserve for Token Lending's market
I am currently following the SLP Token Lending step by step (https://github.com/solana-labs/solana-program-library/blob/master/token-lending/cli/README.md) in order to deploy my own lending system for ...
2
votes
1
answer
464
views
Deploying program fails after checking transaction status. Error: 122 write transactions failed
For several days I couldn't deploy program because of the same reason everyone fails. In 5 retries you can't deploy it. I changed Solana Cli source code in order to increase max retries number (you ...
0
votes
0
answers
68
views
Can't deploy a smart contract: cli 'solana program show --programs' returns nulls
For those who've been following this, I been dealing with ISSUES trying to make a solana-token ICO widget,
basically I finally got around both the,
error: package `solana-program v1.18.2` cannot be ...
1
vote
0
answers
44
views
Deployment Error on Solana Mainnet: Max Retries Exceeded [duplicate]
I've been successfully deploying my Anchor project on Solana's development and testnet environments. However, when attempting deployment on the mainnet, I consistently encounter the following error: &...
3
votes
2
answers
539
views
Why is mainnet-beta program deploy taking so much time?
Why is mainnet-beta program deploy taking so much time?
It took 6 hours to complete 1.0% of the whole process
I use
solana-cli version: 1.18.3
anchor version: anchor-cli 0.29.0
solana cluster-version :...
3
votes
1
answer
113
views
Why is the size of my on-chain program almost doubled after deploying?
I've written a on-chain program with Rust and compile it via cargo build-sbf. Then I check the size of the .so file, it's 156960 bytes.
After I deploy it on devnet via solana program deploy, I check ...
2
votes
1
answer
579
views
Checking deployed programs causes a timeout error. Sometimes works
I've created a program, and deployed it using:
solana program deploy target/deploy/hello_solana.so
It deploys successfully:
solana program deploy target/deploy/hello_solana.so --keypair ../../sol-...
0
votes
1
answer
93
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....
1
vote
1
answer
419
views
Error: Unable to open program file: No such file or directory (os error 2)
I am trying to deploy a hello world program on the blockchain through the solana cli. I tried running cargo build-bpf , after running the program the deploy directory is not downloaded so that I can ...
4
votes
1
answer
289
views
Error: Data writes to account failed: Custom error: Max retries exceeded
I though it was a problem with my keypair and tried a fresh deploy and still got the same error
2
votes
2
answers
2k
views
Error deploying program in localhost network
I have created and written a simple Solana program using anchor & successfully compiled it using anchor build command. I run a local validator node in a terminal using solana-test-validator and ...