All Questions
12
questions
1
vote
1
answer
52
views
Got error "account data too small for instruction" when run Anchor deploy?
Sometimes I got this error when deploy program with running "anchor deploy":
Error: Deploying program failed: RPC response error -32002: Transaction simulation failed: Error processing ...
2
votes
1
answer
34
views
Deploy a program from another program
I'm trying to build a bridge and I need to create pools in both chains
In Solidity, I would be creating a contract that deploys and manage individual pools, but not sure if that can be achieved in ...
1
vote
3
answers
218
views
Deploying a program to mainnet seems impossible?
I have no issue deploying to testnet and devnet, but everything I've tried to get the program to deploy to mainnet using the CLI ends up with it hanging.
Has anyone deployed a program recently (April ...
2
votes
0
answers
255
views
Cannot deploy program onto solana mainnet
First of all, it's super slow when deploy(anchor deploy) my program to mainnet, I got error:
Blockhash expired. 4 retries remaining
Blockhash expired. 3 retries remaining
Blockhash expired. 2 retries ...
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....
1
vote
0
answers
107
views
Cannot deploy program on mainnet for two weeks
I use solana command tool to deploy program on mainnet and always got failed. I have try for two weeks.
I try 1.14.X, 1.16.X and 1.17.X. But got failed.
tangaoyuan@tangaoyuandeMacBook-Pro program % ...
4
votes
1
answer
198
views
What's the difference between the different program loaders?
what's the difference between:
BPFLoaderUpgradeab1e11111111111111111111111,
BPFLoader1111111111111111111111111111111111,
BPFLoader2111111111111111111111111111111111
for deploying your program?
4
votes
1
answer
156
views
How do you figure out your current program deployed max size?
When you deploy a program to a cluster, the default size allocated is the binary size * 2. However you won't be using the entire space on the cluster. How do you figure out the space left available in ...
0
votes
2
answers
261
views
My sol stuck in prgram. How can I close program and recover it?
I was deploying program and by mistake I missed the keyword program and just typed
solana deploy <PROGRAM_FILEPATH>
which return the below program Id and there is no upgradeable authority. Now ...
3
votes
1
answer
705
views
solana program deploy failed with "Blockhash expired" message
solana program deploy command to devnet fails constantly with:
Blockhash expired. x retries remaining
My Setup:
working against devnet.
command includes all workarounds documented:
solana program ...
3
votes
1
answer
229
views
is solana program (smart contract) immutable?
I confuse a bit about this. If I can deploy a program as many as I want to a specific account so program in Solana is mutable. It's unlike other blockchains like Ethereum when deployed contract its ...
11
votes
1
answer
338
views
Why is SOL refunded after a program deploy?
I've noticed that some of the SOL required to deploy a program is refunded after the deploy. What's going on to cause this? Is it that the program is uploaded to multiple accounts and then one of them ...