Skip to content

Commit

Permalink
feat: add idle_cycles_burned_per_day field to StatusCallResult (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk authored Nov 20, 2023
1 parent b7ae339 commit 2d21c78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions ic-utils/src/interfaces/management_canister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2d21c78

Please sign in to comment.