parity-common icon indicating copy to clipboard operation
parity-common copied to clipboard

Add borsh serialization support to primitive types

Open sloboste opened this issue 3 years ago • 2 comments

Add the ability to serialize the H* and U* types using borsh

sloboste avatar Nov 30 '22 00:11 sloboste

Hey, thanks for the PR!

  1. There's an open discussion whether we want it here: #640
  2. If the answer to 1 is "yes", we don't need to introduce "impl-borsh", instead just use derive gated the same way as scale_info.

ordian avatar Nov 30 '22 08:11 ordian

Ah, didn't see that issue - thanks for pointing it out @ordian.

I'll drop a comment in https://github.com/paritytech/parity-common/issues/640

sloboste avatar Dec 01 '22 18:12 sloboste