The experimental project to port Lib9c into JavaScript environment through WASM. Build your Nine Chronicles network transaction in your local at once.
GNU General Public License v3.0
5
stars
2
forks
source link
Refactor how to provide actions' arguments #32
Open
moreal opened 1 year ago
Now
Currently, it provides actions' arguments by inlining all types. It means there is no reuse of any type. For example:
Enums and types can be reused but it didn't.
Plan
Program.GetAllTypeDefinitions() => ["action", type_id, argument_type] | ["type", name, resolved]
method.Program.GetAllTypeDefinitions()
.