Text type on Substrate #15
Copy link
Copy link
Closed
Description
Hey, I found this great library and I'm trying to adapt it with to our substrate chain Polymesh.
I'm facing some troubles, maybe you could help me:
Texttype fromschema.jsonin Substrate: How should I represent it? Should it be any kind ofVec<>?- It doesn't recognize
[u8; 32]on my json. Even when it is present on thedefault.jsonfile and it's working fine there. Is there anything else I should add to make it work?
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
arjanz commentedon Apr 18, 2020
You can use
Bytesfor aTexttype, our codec doesn't make that distinction (yet).That is odd,
[u8; 32]should match theVecU8Length32decoding class, did you check for spaces etc?