Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions crates/payload/types/src/executable_l2_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ pub struct ExecutableL2Data {

// === Metadata ===
/// Next L1 message queue index after this block.
#[serde(with = "alloy_serde::quantity")]
///
/// NOTE: morph-geth serializes this as a bare JSON number (uint64), not a hex quantity
/// string. All other numeric fields use hex, but NextL1MessageIndex is the exception.
/// See morph/go-ethereum/eth/catalyst/gen_l2_ed.go line 31.
pub next_l1_message_index: u64,

/// Cached block hash.
Expand Down Expand Up @@ -163,7 +166,7 @@ mod tests {
"receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000004",
"logsBloom": "0x",
"withdrawTrieRoot": "0x0000000000000000000000000000000000000000000000000000000000000005",
"nextL1MessageIndex": "0xa",
"nextL1MessageIndex": 10,
"hash": "0x0000000000000000000000000000000000000000000000000000000000000006"
}"#;

Expand Down
Loading