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 6 months 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