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
When I read recipes code or others substrate code. I saw that in every pallets has types.json. types.json contains information about storage when we declare in decl_module!. I dont know how to generate it (Although I find and know a file " aggrerate_types.json" that generate types.json, I dont how to execute that file )
Can anyone help me and explain why we generate that files and what we do? Thanks you so much
The text was updated successfully, but these errors were encountered:
In recipes they aren't generated; they are written by hand. I don't know of a general process to generate them. But here is some info about how to convert your own Rust types into the corresponding json type definitions.
When I read recipes code or others substrate code. I saw that in every pallets has types.json. types.json contains information about storage when we declare in decl_module!. I dont know how to generate it (Although I find and know a file " aggrerate_types.json" that generate types.json, I dont how to execute that file )
Can anyone help me and explain why we generate that files and what we do? Thanks you so much
The text was updated successfully, but these errors were encountered: