Closed shekhirin closed 1 day ago
Closes https://github.com/alloy-rs/alloy/issues/1349
Introduces the serde-bincode-compat feature that provides bincode-compatible implementations of serde serialization/deserialization to use with serde_as macro.
serde-bincode-compat
serde_as
Example usage https://github.com/alloy-rs/alloy/blob/af593d2e725047aeccf79328f978faac8805a76c/crates/consensus/src/header.rs#L835-L846
why is this required for all the tx types?
they have a skip_serializing_if attribute, and we use tx types in the block body in Reth
skip_serializing_if
Closes https://github.com/alloy-rs/alloy/issues/1349
Introduces the
serde-bincode-compat
feature that provides bincode-compatible implementations of serde serialization/deserialization to use withserde_as
macro.Example usage https://github.com/alloy-rs/alloy/blob/af593d2e725047aeccf79328f978faac8805a76c/crates/consensus/src/header.rs#L835-L846