diff --git a/rust/src/client_api/client_events.rs b/rust/src/client_api/client_events.rs index 9b50472..febf791 100644 --- a/rust/src/client_api/client_events.rs +++ b/rust/src/client_api/client_events.rs @@ -760,6 +760,9 @@ pub struct ContractState { pub subscribers: u32, /// Peer IDs of nodes that are subscribed to this contract pub subscriber_peer_ids: Vec, + /// Size of the contract state in bytes + #[serde(default)] + pub size_bytes: u64, } #[derive(Serialize, Deserialize, Debug, Clone)]