osmosis-rust icon indicating copy to clipboard operation
osmosis-rust copied to clipboard

Fix serialization/deserialization for Option

Open shapeshed opened this issue 1 year ago • 0 comments

The previous implementation threw a type error.

| ::serde::Serialize, | ^^^^^^^^^^^^^^^^^^ expected &[u8], found &Option<Vec<u8>>

This adds custom serde functions and an additional transformer to handle the option correctly.

shapeshed avatar May 03 '24 09:05 shapeshed