Log flattens data for serde, which is an issue for a non self describing protocols as bcs and bincode. Without this fix test will fail with:
bcs:
---- log::tests::test_bcs_encode_decode stdout ----
thread 'log::tests::test_bcs_encode_decode' panicked at crates/primitives/src/log.rs:248:51:
called `Result::unwrap()` on an `Err` value: NotSupported("deserialize_any")
bincode:
---- log::tests::test_bincode_encode_decode stdout ----
thread 'log::tests::test_bincode_encode_decode' panicked at crates/primitives/src/log.rs:227:52:
called `Result::unwrap()` on an `Err` value: SequenceMustHaveLength
Log flattens data for serde, which is an issue for a non self describing protocols as bcs and bincode. Without this fix test will fail with:
Code affected: reth_primitives::Receipt.