You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust convention is to use PascalCase for enum variants so the UI does PascalCase to camelCase conversion to make it work with Anchor but your variants here are UPPERCASE so the case conversion is incorrect. We can fix this from playground side to not assume PascalCase variants but in the meantime, you can also fix this by converting your enum variants to PascalCase.
"Enum variant does not exist." error when the Enum does exist and the menu displays them.
There is also a small issue with the capitalization of the first character
.e.g. the Enum menu first option appears as 'aDD' when it should be 'ADD'
u4mzqort.mp4
Code
![444](https://private-user-images.githubusercontent.com/92709487/300129551-d2ced302-2c09-40b9-b7f8-57d7940be883.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyMTE5NzUsIm5iZiI6MTcyMDIxMTY3NSwicGF0aCI6Ii85MjcwOTQ4Ny8zMDAxMjk1NTEtZDJjZWQzMDItMmMwOS00MGI5LWI3ZjgtNTdkNzk0MGJlODgzLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDIwMzQzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlYWVlZGIwMzYwNmU3Y2ZiZjE0ODAxODFmOWEzZmVhNGViYzg0YmQ4ZmY2ZjY3NjkwMDFjOWI5NWRlOTg1ZDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9Qx49pKF_x8HvaApXNDcZQPW1gccLLq7jWSC0cDmS40)
Program IDL
The text was updated successfully, but these errors were encountered: