mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-04 05:14:33 +00:00
attempt to fix serde for opt hex be u256
This commit is contained in:
@@ -95,8 +95,6 @@ pub struct JsonExecutionPayload<T: EthSpec> {
|
|||||||
#[serde(with = "eth2_serde_utils::u256_hex_be")]
|
#[serde(with = "eth2_serde_utils::u256_hex_be")]
|
||||||
pub base_fee_per_gas: Uint256,
|
pub base_fee_per_gas: Uint256,
|
||||||
#[superstruct(only(V2))]
|
#[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 excess_data_gas: Option<Uint256>,
|
||||||
pub block_hash: ExecutionBlockHash,
|
pub block_hash: ExecutionBlockHash,
|
||||||
|
|||||||
Reference in New Issue
Block a user