Changes to EmbeddedVM
dr-orlovsky opened this issue · comments
Dr. Maxim Orlovsky commented
Change EmbededVm
: it must provide a table linking metadata, state and state transitions to a specific embedded validation procedures. This will allow to avoid fixed set of field/state/transition type names defined at the consensus level and will much simplify the live of schema creators.
To have this changes in a non-breaking way a new Vm
enum member will be added, with previous EmebddedVm
renamed to LegacyVm
. The LegacyVm
will be deprecated and it will continue to rely on the pre-defined field types, which will not be exported anymore.