Revert "TEMP HACK to get it compiling"

This reverts commit 3c79c33d86.
This commit is contained in:
Diva M 2022-11-28 14:36:07 -05:00
parent 3c79c33d86
commit 050acf67a3
No known key found for this signature in database
GPG Key ID: 1BAE5E01126680FE
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ pub struct JsonExecutionPayload<T: EthSpec> {
#[superstruct(only(V2))]
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(default)]
// #[serde(with = "eth2_serde_utils::u256_hex_be_opt")]
#[serde(with = "eth2_serde_utils::u256_hex_be_opt")]
pub excess_data_gas: Option<Uint256>,
pub block_hash: ExecutionBlockHash,
#[serde(with = "ssz_types::serde_utils::list_of_hex_var_list")]
@ -427,7 +427,7 @@ impl From<JsonPayloadAttributes> for PayloadAttributes {
pub struct JsonBlobsBundle<T: EthSpec> {
pub block_hash: ExecutionBlockHash,
pub kzgs: VariableList<KzgCommitment, T::MaxBlobsPerBlock>,
// #[serde(with = "ssz_types::serde_utils::list_of_hex_fixed_vec")]
#[serde(with = "ssz_types::serde_utils::list_of_hex_fixed_vec")]
pub blobs: VariableList<Blob<T>, T::MaxBlobsPerBlock>,
}

View File

@ -12,7 +12,7 @@ use tree_hash_derive::TreeHash;
pub struct BlobsSidecar<T: EthSpec> {
pub beacon_block_root: Hash256,
pub beacon_block_slot: Slot,
// #[serde(with = "ssz_types::serde_utils::list_of_hex_fixed_vec")]
#[serde(with = "ssz_types::serde_utils::list_of_hex_fixed_vec")]
pub blobs: VariableList<Blob<T>, T::MaxBlobsPerBlock>,
pub kzg_aggregated_proof: KzgProof,
}