koinos / koinos-types

The Rosetta Stone of the Koinos ecosystem. Allows for the interpretation of Koinos data structures in a multitude of languages. Useful in the development of microservices, clients, and smart contracts.
MIT License
12 stars 3 forks source link

Autogen thunk ids #205

Open theoreticalbts opened 3 years ago

theoreticalbts commented 3 years ago

Currently the manual transcription of system call / thunk ID's causes problems like this.

I've moved these to separate files in types/, implemented a small script to autogenerate the enum from a list of names, and added it to CI. This should ensure ID's are always correctly generated and avoid the error-prone process of manual transcription of ID's.

theoreticalbts commented 3 years ago

Rebased to latest master.