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

Upgrade Anchor version + support new IDL types #317

Closed
wants to merge 1 commit into from

Conversation

mcintyre94
Copy link
Collaborator

This PR updates Explorer to use the latest version of @coral-xyz/anchor. Previously we were on an older version of @project-serum/anchor which couldn't parse some Anchor IDLs using new features. This led to us not displaying the IDL unexpectedly for some programs.

The IDL now displays correctly for a program with a tuple enum: (program ID propm845StqEBV57ZSnTe8EW8duzAxo5p7h4inhibXV)
Screenshot 2024-01-22 at 12 02 10

We also add i256 and u256 types, which are handled the same as all other number types.

We also have new support for type aliases: (program ID 3WiKp32izVd3GLU4ieFzFEaXfx6ZsgYUuJfVufU2G4sq)
Screenshot 2024-01-22 at 12 01 27

Closes #316

Copy link

vercel bot commented Jan 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
explorer ✅ Ready (Inspect) Visit Preview Jan 22, 2024 0:20am

@0x0ece
Copy link

0x0ece commented Jul 7, 2024

Any plans to support anchor 0.30?

@ngundotra
Copy link
Collaborator

Closed by #374

@ngundotra ngundotra closed this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Anchor IDL not showing for program
3 participants