Serialize and Deserialize cannot be derived for BlobTransactionSidecar #4572
SeeSoftware
started this conversation in
Technical discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, im modifying reth for custom purposes, but after a recent update (v0.1.0-alpha.8) i can no longer use the reth-primitives crate standalone. It throws an compile time error:
error[E0277]: the trait bound
c_kzg::Bytes48: Deserialize<'_>
is not satisfied--> crates/primitives/src/transaction/eip4844.rs:577:5
|
577 | /// The blob commitments.
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait
Deserialize<'_>
is not implemented forc_kzg::Bytes48
|
= help: the following other types implement trait
Deserialize<'de>
:<&'a [u8] as Deserialize<'de>>
<&'a serde_json::value::RawValue as Deserialize<'de>>
<&'a std::path::Path as Deserialize<'de>>
<&'a str as Deserialize<'de>>
<&'de BitSlice<u8, O> as Deserialize<'de>>
<() as Deserialize<'de>>
<(T0, T1) as Deserialize<'de>>
<(T0, T1, T2) as Deserialize<'de>>
and 401 others
= note: required for
Vec<c_kzg::Bytes48>
to implementDeserialize<'_>
note: required by a bound in
account::_::_serde::__private::de::missing_field
Interestingly this does not affect compiling reth itself.
Beta Was this translation helpful? Give feedback.
All reactions