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)
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)
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
)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
)Closes #316