lighthouse-pulse/consensus/serde_utils/src
Pawan Dhananjay 5243cc6c30 Add a u256_hex_be module to encode/decode U256 types (#3321)
## Issue Addressed

Resolves #3314 

## Proposed Changes

Add a module to encode/decode u256 types according to the execution layer encoding/decoding standards
https://github.com/ethereum/execution-apis/blob/main/src/engine/specification.md#structures

Updates `JsonExecutionPayloadV1.base_fee_per_gas`, `JsonExecutionPayloadHeaderV1.base_fee_per_gas`  and `TransitionConfigurationV1.terminal_total_difficulty` to encode/decode according to standards

Co-authored-by: Michael Sproul <micsproul@gmail.com>
2022-07-15 07:31:21 +00:00
..
fixed_bytes_hex.rs Implement engine API v1.0.0-alpha.4 (#2810) 2021-12-02 14:26:55 +11:00
hex_vec.rs [Merge] Implement execution_layer (#2635) 2021-12-02 14:26:51 +11:00
hex.rs [Merge] Implement execution_layer (#2635) 2021-12-02 14:26:51 +11:00
json_str.rs Implement standard keystore API (#2736) 2022-01-30 23:22:04 +00:00
lib.rs Add a u256_hex_be module to encode/decode U256 types (#3321) 2022-07-15 07:31:21 +00:00
list_of_bytes_lists.rs [Merge] Implement execution_layer (#2635) 2021-12-02 14:26:51 +11:00
quoted_int.rs Fix Uint256 deserialization (#2786) 2021-12-02 14:26:55 +11:00
quoted_u64_vec.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
u8_hex.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
u32_hex.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
u64_hex_be.rs Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
u256_hex_be.rs Add a u256_hex_be module to encode/decode U256 types (#3321) 2022-07-15 07:31:21 +00:00