Skip to content

Commit e991841

Browse files
authored
feat(core): derive serde for chunk info (#75)
1 parent 4f941bb commit e991841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core/src/chunk.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use tiny_keccak::{Hasher, Keccak};
1010
/// - the data hash of this chunk
1111
/// - the tx data hash of this chunk
1212
/// - flattened L2 tx bytes hash
13-
#[derive(Debug)]
13+
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
1414
pub struct ChunkInfo {
1515
chain_id: u64,
1616
prev_state_root: B256,

0 commit comments

Comments
 (0)