Skip to content

Commit d5d9346

Browse files
chore(public-input): Add #[derive(Debug)] to publicinput-related structs (#23)
## What ❔ Add #[derive(Debug)] to some structs ## Why ❔ To show in logs
1 parent c045522 commit d5d9346

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

basic_system/src/system_implementation/system/public_input.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ impl BlocksPublicInput {
115115
/// - l2 to l1 logs tree root: to be able to open them on the settlement layer
116116
/// - extra inputs to validate on the settlement layer(timestamp and chain id)
117117
///
118+
#[derive(Debug)]
118119
pub struct BatchOutput {
119120
/// Chain id used during execution of the blocks.
120121
pub chain_id: U256,
@@ -159,6 +160,7 @@ impl BatchOutput {
159160
}
160161
}
161162

163+
#[derive(Debug)]
162164
pub struct BatchPublicInput {
163165
/// State commitment before the batch.
164166
/// It should commit for everything needed for trustless execution(state, block number, hashes, etc).

0 commit comments

Comments
 (0)