From 7a7cf36e12523475aead58146f3a4427e9cef5e2 Mon Sep 17 00:00:00 2001 From: Rohit Narurkar Date: Mon, 20 Jan 2025 21:21:37 +0000 Subject: [PATCH] chore(core): derive serde for chunk info --- crates/core/src/chunk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/src/chunk.rs b/crates/core/src/chunk.rs index 15c8584..2c2c7bd 100644 --- a/crates/core/src/chunk.rs +++ b/crates/core/src/chunk.rs @@ -10,7 +10,7 @@ use tiny_keccak::{Hasher, Keccak}; /// - the data hash of this chunk /// - the tx data hash of this chunk /// - flattened L2 tx bytes hash -#[derive(Debug)] +#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)] pub struct ChunkInfo { chain_id: u64, prev_state_root: B256,