-
Notifications
You must be signed in to change notification settings - Fork 20
[FINAL] feat: Add sections for new subnet_info endpoint #351
Conversation
🤖 Here's your preview: https://pjpim-riaaa-aaaak-qckja-cai.icp0.io/docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
If a canister wants to get the information for it's own subnet, how is it supposed to figure out which subnet it is on? |
The registry has an endpoint that serves this information. |
…lable to execution environment (#2248) This is an alternative to #2248 and #2082 This PR passes the running replica version to the execution environment, from where it can be used [in a future management canister call.](dfinity/interface-spec#351): #2202 --------- Co-authored-by: Michael Weigelt <[email protected]>
…lable to execution environment (#2248) This is an alternative to #2248 and #2082 This PR passes the running replica version to the execution environment, from where it can be used [in a future management canister call.](dfinity/interface-spec#351): #2202 --------- Co-authored-by: Michael Weigelt <[email protected]>
…lable to execution environment (#2248) This is an alternative to #2248 and #2082 This PR passes the running replica version to the execution environment, from where it can be used [in a future management canister call.](dfinity/interface-spec#351): #2202 --------- Co-authored-by: Michael Weigelt <[email protected]>
Is there a reason why we went with |
Yes, I believe. But I see the point. It's a misnomer now, and will be less of a misnomer later, but still not quite right.
Just in case you missed the collapsed item. |
I agree that |
The state tree path contains only metrics for now so that is consistent imo. If we want to unify at some point (the two return a different set of information for now), then we can switch to |
I am also fine with |
Thanks for the changes @mraszyk. Do we consider this PR final? @Dfinity-Bjoern |
…a management API (#2202) This PR is a follow-up to **#2248 It makes replica_version available via a management canister call as specified [here](dfinity/interface-spec#351). --------- Co-authored-by: Michael Weigelt <[email protected]> Co-authored-by: Dimitris Sarlis <[email protected]>
…a management API (#2202) This PR is a follow-up to **#2248 It makes replica_version available via a management canister call as specified [here](dfinity/interface-spec#351). --------- Co-authored-by: Michael Weigelt <[email protected]> Co-authored-by: Dimitris Sarlis <[email protected]>
Superseded by dfinity/portal#3755 |
In certain circumstances, canisters wish to learn about subnet-specific data or metadata. This endpoint enables these use cases, starting with exposing the replica version a subnet is currently running.
Open questions: