Skip to content

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Sep 11, 2025

This PR specifies a new management canister endpoint canister_metadata providing canister metadata (contained in custom sections). So far canister metadata are only available to external users via the (certified) state tree (by making a read state HTTP request). The new management canister endpoint makes canister metadata available to other canisters, too.

@mraszyk mraszyk requested a review from a team as a code owner September 11, 2025 06:28
@github-actions github-actions bot added the interface-spec Changes to the IC Interface Specification label Sep 11, 2025
Copy link
Contributor

github-actions bot commented Sep 11, 2025

🤖 Here's your preview: https://yvncx-qyaaa-aaaam-aeiqa-cai.icp0.io

Copy link
Member

@Dfinity-Bjoern Dfinity-Bjoern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we don't expect transferred cycles, I expect that we will charge the canister for calling the API?

@mraszyk
Copy link
Contributor Author

mraszyk commented Sep 11, 2025

I expect that we will charge the canister for calling the API

The caller will be charged the same fees as for every inter-canister call:

  • a base fee (260K cycles)
  • and then 1K cycles for every transmitted byte (both in request and response).

Copy link
Member

@Dfinity-Bjoern Dfinity-Bjoern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do this.

controllers : vec principal;
};

type canister_metadata_args = record {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR should be merged when the roll-out is complete and changelog should be updated before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interface-spec Changes to the IC Interface Specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants