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: Always convert IDLs #3265

Merged
merged 2 commits into from
Sep 21, 2024

Conversation

acheroncrypto
Copy link
Collaborator

Problem

Interpreting the bytes as the Idl type fails if the IDL is a legacy IDL (pre v0.30). This can be fixed by always automatically converting the IDL using the convert_idl function in various commands, so that the user doesn't have to run anchor idl convert first.

Summary of changes

Always convert IDLs when reading them from the file system.

Copy link

vercel bot commented Sep 21, 2024

@acheroncrypto 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 merged commit dac2271 into coral-xyz:master Sep 21, 2024
0 of 9 checks passed
@acheroncrypto acheroncrypto added the idl related to the IDL, either program or client side label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli feature idl related to the IDL, either program or client side
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant