alloy_eips::eip7702

Module serde_bincode_compat

Source
Available on crate features serde and serde-bincode-compat only.
Expand description

Bincode-compatible serde implementations for EIP-7702 types.

bincode crate doesn’t work with #[serde(flatten)] attribute, but some of the EIP-7702 types require flattenning for RPC compatibility. This module makes so that all fields are non-flattenned.

Read more: https://github.com/bincode-org/bincode/issues/167#issuecomment-897629039

Structs§