David Wong
David Wong
I tried all sorts of combinations (including the variant too) but couldn't make it work :o thanks for the pointer I'll look at it!
btw I couldn't make it work myself so I ended up [doing this](https://github.com/mimoo/noname/blob/main/src/error.rs#L15): ```rust #[derive(Diagnostic, Debug, Error)] #[error("Looks like something went wrong in {label}")] pub struct Error { /// A...
BTW how do people deal with this in projects that run in prod? We chose to use serde_with everywhere but I'm thinking of just forking arkworks with this branch and...
Humm, I'm not sure I understand your example. What is `Uncompressed`? Also, if I understand correctly: * either I have to implement `CanonicalSerialize`, `CanonicalDeserialize` on my types, that's probably annoying...
hummm I see, but what is the point of Uncompressed?
Sorry for the delayed replayed. If I understand correctly this means I will be able to write code like this: ```rust #[derive(Serialize, Deserialize)] #[serde(bound = "T: CanonicalDeserialize + CanonicalSerialize")] pub...
oh, but that means we have to implement `Canonical(De)Serialize` on all of our types instead of serde + arkworks has to implement these traits on Rust primitive types (not sure...
I see, another problem I can see is that I'm assuming the derivers don't come with the helpers the serde ones come with. For example `#[serde(bound)]` or `#[serde(skip)]` . I...
I'm running into another issue now: I can't nicely JSON serialize some of the types in arkworks. For example, a Radix2EvaluationDomain is just going to look like a bytearray instead...
> Why is this a problem? Users cannot read finite field elements anyways. there are more than just fields in this struct. In our case we'd like to see a...