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

[cli] idl_write to wait for buffer being finished #3020

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ochaloup
Copy link
Contributor

On deploying IDL I struggle with trouble around failing to push the data to the buffer which ends with unfinished upload and failure to post the IDL on-chain.

The issue is that for me the client.send_and_confirm_transaction_with_spinner may fail on not being confirmed (with some blockhash not found or similar) while it still landed on the chain. With that, any follow-up retry always fails.

My fix to get the IDL uploaded eventually is provided here as draft-PR and I would like to check if that makes sense to somebody else or if there is a different way to manage this.

Copy link

vercel bot commented Jun 12, 2024

@ochaloup is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added cli idl related to the IDL, either program or client side labels Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli idl related to the IDL, either program or client side
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants