Comments (2)
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.
from solana-playground.
Nice. Can confirm Pascal case fixes this (see pic)
from solana-playground.
Related Issues (20)
- Add support for mpl-token-auth-rules HOT 2
- Add support for serde HOT 1
- Request version update for @solana/spl-token
- Add token and mint account generators in test UI
- Editor menu appears below other elements on the page
- Non-awaited async function errors don't get caught HOT 2
- Lazy load bigger GitHub repositories
- Uable to deploy HOT 1
- Display Rust Analyzer status in the bottom bar
- Nuzman
- Error when testing with seeds HOT 2
- Unable to paste into public key field in test UI
- Unable to deploy Solana smart Contract coded in Anchor HOT 8
- Unable to send and receive SOLs in playground's wallet HOT 2
- Hv
- Add ability to customize whether to close `SearchBar` dropdown component on outside click
- JSON payload is larger than allowed HOT 11
- HBushIA
- [Feature] Airdrop Option HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solana-playground.