dfinity / interface-spec

IC Interface Specification
https://khsfq-wqaaa-aaaak-qckvq-cai.icp0.io/docs
37 stars 20 forks source link

feat: add root_subnet_id to HTTP status endpoint #250

Closed mraszyk closed 1 year ago

mraszyk commented 1 year ago

This PR adds the root_subnet_id as an additional field returned by the HTTP /api/v2/status endpoint. This is useful to obtain the root subnet ID along with the root subnet's public key in development instances. However, we propose to not restrict the field to development instances only so that the IC mainnet does not deviate from test instances.

Dfinity-Bjoern commented 1 year ago

I am not convinced. You can easily compute that from the root public key.