mev-commit-p2p
mev-commit-p2p copied to clipboard
Update protocols to use new protobuf encoding
Currently, we have 2 protocols already. By the time this issue is started we might have another one. They are using msgpack encoding right now to exchange messages. Instead they should use protobuf implementation.
Tasks:
- Define the protobuf messages. These would be similar to the existing structs used.
- Generate pb files for the proto specs.
- Update the protocols to use the new types and use the protobuf encoder/decoder to read/write.
- Update any tests required in the protocols.