TEMP HACK to get it compiling
This commit is contained in:
parent
4760dbb078
commit
3c79c33d86
@ -97,7 +97,7 @@ pub struct JsonExecutionPayload<T: EthSpec> {
|
|||||||
#[superstruct(only(V2))]
|
#[superstruct(only(V2))]
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
#[serde(default)]
|
#[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 excess_data_gas: Option<Uint256>,
|
||||||
pub block_hash: ExecutionBlockHash,
|
pub block_hash: ExecutionBlockHash,
|
||||||
#[serde(with = "ssz_types::serde_utils::list_of_hex_var_list")]
|
#[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 struct JsonBlobsBundle<T: EthSpec> {
|
||||||
pub block_hash: ExecutionBlockHash,
|
pub block_hash: ExecutionBlockHash,
|
||||||
pub kzgs: VariableList<KzgCommitment, T::MaxBlobsPerBlock>,
|
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>,
|
pub blobs: VariableList<Blob<T>, T::MaxBlobsPerBlock>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ use tree_hash_derive::TreeHash;
|
|||||||
pub struct BlobsSidecar<T: EthSpec> {
|
pub struct BlobsSidecar<T: EthSpec> {
|
||||||
pub beacon_block_root: Hash256,
|
pub beacon_block_root: Hash256,
|
||||||
pub beacon_block_slot: Slot,
|
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 blobs: VariableList<Blob<T>, T::MaxBlobsPerBlock>,
|
||||||
pub kzg_aggregated_proof: KzgProof,
|
pub kzg_aggregated_proof: KzgProof,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user