left-curve / grug

Grug
https://leftcurve.software/grug
44 stars 5 forks source link

Switch from Borsh to Prost #18

Closed larry0x closed 1 month ago

larry0x commented 1 month ago

IBC requires that data being marshaled in Protobuf. We should just switch from Borsh to Prost entirely, otherwise we will have 3 encoding schemes which is messy.

larry0x commented 1 month ago

No, fuck protobuf

It's really hard to derive prost::Message for every type in grug-types.

Instead, we should just add save_raw and load_raw methods for Map.