Protobuf: change data type

Change data type in service.proto from string to bytes

  • EmitEventRequest.eventData
  • TaskData.inputData
  • SubmitResultRequest.outputData

We can even introduce DataEncoding field in the feature if needed.

We are now using a struct for all the data https://github.com/mesg-foundation/engine/blob/dev/protobuf/types/struct.proto

This way we don’t need to have to deal with any encoding anymore and we can have structured and typed data