Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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. ...
Hiroto Iwaki's user avatar
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: ...
Enya Emmanuel's user avatar
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:
Imran Rashid's user avatar
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 ...
Anthony CONSOLARO's user avatar
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 ...
kadir's user avatar
  • 33
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 ...
Keola's user avatar
  • 83
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: &...
Blocky Man's user avatar
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 :...
Minato Tanaka's user avatar
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 ...
Yan's user avatar
  • 419
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-...
BugHunterUK's user avatar
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....
Pun's user avatar
  • 1
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 ...
Shivang Rawat's user avatar
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
Marco Kuidja's user avatar
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 ...
Shubham Singh's user avatar