Skip to content

Commit

Permalink
fix(client): bootinfo serde (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell authored Aug 22, 2024
1 parent 4c5a90e commit c047b82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ serde_json = { version = "1.0.125", default-features = false }
kona-common = { path = "../../crates/common", version = "0.0.2" }
kona-common-proc = { path = "../../crates/common-proc", version = "0.0.2" }
kona-preimage = { path = "../../crates/preimage", version = "0.0.2" }
kona-primitives = { path = "../../crates/primitives", version = "0.0.1" }
kona-primitives = { path = "../../crates/primitives", version = "0.0.1", features = ["serde"] }
kona-mpt = { path = "../../crates/mpt", version = "0.0.2" }
kona-derive = { path = "../../crates/derive", default-features = false, version = "0.0.2" }
kona-executor = { path = "../../crates/executor", version = "0.0.1" }
Expand Down
3 changes: 2 additions & 1 deletion bin/client/src/boot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use alloy_primitives::{B256, U256};
use anyhow::{anyhow, Result};
use kona_preimage::{PreimageKey, PreimageOracleClient};
use kona_primitives::RollupConfig;
use serde::{Deserialize, Serialize};
use tracing::warn;

/// The local key ident for the L1 head hash.
Expand Down Expand Up @@ -36,7 +37,7 @@ pub const L2_ROLLUP_CONFIG_KEY: U256 = U256::from_be_slice(&[6]);
/// **User submitted inputs:**
/// - `l2_claim`: The L2 output root claim.
/// - `l2_claim_block`: The L2 claim block number.
#[derive(Debug, Clone, PartialEq, Eq)]
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct BootInfo {
/// The L1 head hash containing the safe L2 chain data that may reproduce the L2 head hash.
pub l1_head: B256,
Expand Down

0 comments on commit c047b82

Please sign in to comment.