From 2d21c78b9d6d37f0d9ef3765579159ff1d0a30b0 Mon Sep 17 00:00:00 2001 From: mraszyk <31483726+mraszyk@users.noreply.github.com> Date: Mon, 20 Nov 2023 17:55:05 +0100 Subject: [PATCH] feat: add idle_cycles_burned_per_day field to StatusCallResult (#495) --- CHANGELOG.md | 1 + ic-utils/src/interfaces/management_canister.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2a1f480..d70c9319 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased * Breaking change: Bump candid to 0.10. Downstream libraries need to bump Candid to 0.10 as well. +* Feat: add `idle_cycles_burned_per_day` field to `StatusCallResult`. ## [0.30.2] = 20223-11-16 diff --git a/ic-utils/src/interfaces/management_canister.rs b/ic-utils/src/interfaces/management_canister.rs index 408b7a8c..b04b946b 100644 --- a/ic-utils/src/interfaces/management_canister.rs +++ b/ic-utils/src/interfaces/management_canister.rs @@ -89,6 +89,9 @@ pub struct StatusCallResult { pub cycles: Nat, /// The canister's reserved cycles balance. pub reserved_cycles: Nat, + /// The cycles burned by the canister in one day for its resource usage + /// (compute and memory allocation and memory usage). + pub idle_cycles_burned_per_day: Nat, } /// The concrete settings of a canister.