Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy, max retries... #2836

Closed
effeaucarre opened this issue Mar 11, 2024 · 5 comments
Closed

Unable to deploy, max retries... #2836

effeaucarre opened this issue Mar 11, 2024 · 5 comments
Labels

Comments

@effeaucarre
Copy link

I have to deploy a program for mainnet, i have tried 2 different RPC (helius & quicknode)

There are around 600 tx to be sent. It takes several minutes to send the 6xx transactions, and i have the error blockhash expired, does this 5 times, then fails.

What could cause this, since it was working like a charm before ?

i'm using "@project-serum/anchor": "^0.24.2" + solana cli 1.15.2

@acheroncrypto
Copy link
Collaborator

This problem happens because it's getting more and more difficult to land transactions that don't have priority fees in mainnet. Anchor's current deploy logic is a wrapper around solana-cli's deploy, and because solana-cli doesn't yet support setting priority fees, you may get this error.

@effeaucarre
Copy link
Author

so is there a better way to deploy the program ? because i'm stuck for many days trying to deploy...
or may be priority fees support will be added in solana cli?

@mikemaccana
Copy link
Contributor

mikemaccana commented Mar 14, 2024

@effeaucarre yes there's a PR to add priority fees to the Solana CLI that should be merged soon. Hold on a sec I'll find it...

anza-xyz/agave#144

@effeaucarre
Copy link
Author

thanks ! i guess i just ghave to wait then...

@acheroncrypto
Copy link
Collaborator

Deployment experience is improved in the latest versions of the Solana CLI (after 1.18.12). You usually need to supply different arguments/options to make it work properly though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants