diff --git a/crates/blockifier/src/context.rs b/crates/blockifier/src/context.rs index 383a14d7e6..8f27c3fbdf 100644 --- a/crates/blockifier/src/context.rs +++ b/crates/blockifier/src/context.rs @@ -1,3 +1,4 @@ +use serde::{Deserialize, Serialize}; use starknet_api::core::{ChainId, ContractAddress}; use crate::blockifier::block::BlockInfo; @@ -68,7 +69,7 @@ impl BlockContext { } } -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Deserialize, PartialEq, Serialize)] pub struct ChainInfo { pub chain_id: ChainId, pub fee_token_addresses: FeeTokenAddresses, @@ -92,7 +93,7 @@ impl Default for ChainInfo { } } -#[derive(Clone, Debug, Default)] +#[derive(Clone, Debug, Default, Deserialize, PartialEq, Serialize)] pub struct FeeTokenAddresses { pub strk_fee_token_address: ContractAddress, pub eth_fee_token_address: ContractAddress,