solana icon indicating copy to clipboard operation
solana copied to clipboard

Add priority fee option/instruction for solana program deploy

Open Jac0xb opened this issue 2 years ago • 7 comments

Problem

Experiencing deployment failure caused by <1% of transactions failing every time. This has never happened so consistently before (have tried several RPC providers).

Proposed Solution

  • Add priority fees option to solana program deploy either microlamport or lamport amount to spend on entire deployment. Only issue is this means more transactions too since this new instruction will have ix data / account overhead.

  • solana deploy program --buffer seems to restart process rather than just resuming from previous deployment. If this is possible then this is preferred.

  • Options to set max retry for failed buffer loading transactions. What good is failing the entire process if I can't resume from previous deployment attempt.

Jac0xb avatar Dec 13 '23 18:12 Jac0xb

This is still an issue, anyone with context around the CLI would be most helpful if they could lend a hand on this?

Jac0xb avatar Jan 18 '24 08:01 Jac0xb

not an direct solution but i had issues with my deployments failing back when solana was on 1.9.x - 1.10.x and one workaround was to use https://beta.solpg.io/ to do deployments

swimricky avatar Jan 18 '24 19:01 swimricky

It's so frustrated to be unable to deploy an upgrade to my program after fixing the bugs. Please someone take a look at this. A simple config to set priority fees is enough for now.

b1acKr0se avatar Mar 12 '24 05:03 b1acKr0se

With the current network conditions, this is a must...

verata-veritatis avatar Mar 14 '24 16:03 verata-veritatis

I've been failing all my deploys... max retries for 5 times and 3~4 resumes for a couple of hours and still fails. I think priority fees could help with this

solidquant avatar Mar 17 '24 15:03 solidquant

Can something be done please ? It's starting to get ridiculous not being able to deploy for days

LobsterMonkey avatar Mar 17 '24 18:03 LobsterMonkey

I also face this issue. I am failing to deploy my program on chain continuously. someone can give me solution??

solstar1117 avatar Mar 20 '24 16:03 solstar1117

if anyone wants a quick solution, this was how i hardcoded priority fees for solana program deploy:

https://github.com/wphan/solana/pull/1

wphan avatar Apr 01 '24 06:04 wphan

Added in https://github.com/anza-xyz/agave/pull/364 and present in 1.18.8, please upgrade to the latest tools

joncinque avatar Apr 01 '24 11:04 joncinque