# Upgrade the Root Canister to Commit 00b04a8
__Proposer__: maximilian.summe at dfinity.org
__Source code__: [00b04a892dfb2fee1459f1de9d4a731aa04f1ca3][new-commit]
[new-commit]: https://github.com/dfinity/ic/tree/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3
## Features & Fixes
### Added
* Added the `query_stats` field for the `canister_status` method.
## New Commits
```
$ git log --format="%C(auto) %h %s" c5e098e8cc8e62249e6d7f4ed09e6c2ed87fc800..00b04a892dfb2fee1459f1de9d4a731aa04f1ca3 -- ./rs/nns/handlers/root
156d8ac3f3 chore(nns): update root changelog (#3866)
5506c7c41e chore: [EXC-1835] Make ic-management-canister-types private (#3814)
01fcadfa69 feat(nns/sns): Add query stats to canister status (#3710)
```
## Current Version
__Current git hash__: c5e098e8cc8e62249e6d7f4ed09e6c2ed87fc800
__Current wasm hash__: 304af3d8d330397d53eed7e8580810fb3ab303930bdf6fd3969c9109dd11b80e
## Verification
See the general instructions on [how to verify] proposals like this. A "quick
start" guide is provided here.
[how to verify]: https://github.com/dfinity/ic/tree/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3/rs/nervous_system/docs/proposal_verification.md
### WASM Verification
See ["Building the code"][prereqs] for prerequisites.
[prereqs]: https://github.com/dfinity/ic/tree/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3/README.adoc#building-the-code
```
# 1. Get a copy of the code.
git clone git@github.com:dfinity/ic.git
cd ic
# Or, if you already have a copy of the ic repo,
git fetch
git checkout 00b04a892dfb2fee1459f1de9d4a731aa04f1ca3
# 2. Build canisters.
./ci/container/build-ic.sh -c
# 3. Fingerprint the result.
sha256sum ./artifacts/canisters/root-canister.wasm.gz
```
This should match `wasm_module_hash` field of this proposal.
Sns-wasm
# Upgrade the Sns-wasm Canister to Commit 00b04a8
__Proposer__: maximilian.summe at dfinity.org
__Source code__: [00b04a892dfb2fee1459f1de9d4a731aa04f1ca3][new-commit]
[new-commit]: https://github.com/dfinity/ic/tree/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3
## Features & Fixes
### Removed
* Logos are no longer included into *serialized* initial SNS initialization parameters for newly
deployed SNSs. They are, of course, still included in the metadata responses:
`SnsGov.get_metadata` and `SnsLedger.icrc1_metadata`.
## New Commits
```
$ git log --format="%C(auto) %h %s" c5e098e8cc8e62249e6d7f4ed09e6c2ed87fc800..00b04a892dfb2fee1459f1de9d4a731aa04f1ca3 -- ./rs/nns/sns-wasm ./rs/sns/init
527f4adf99 chore: Quotation in error messages (#3828)
5506c7c41e chore: [EXC-1835] Make ic-management-canister-types private (#3814)
5acf43fb09 feat(sns): Do not store logos in SNS initialization parameters to save space (#3786)
```
## Current Version
__Current git hash__: c5e098e8cc8e62249e6d7f4ed09e6c2ed87fc800
__Current wasm hash__: 6308fdd2d8bafb6a54ae995f0ff07118976dd75f6e2775fdf50349084a59b4b7
## Verification
See the general instructions on [how to verify] proposals like this. A "quick
start" guide is provided here.
[how to verify]: https://github.com/dfinity/ic/tree/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3/rs/nervous_system/docs/proposal_verification.md
### WASM Verification
See ["Building the code"][prereqs] for prerequisites.
[prereqs]: https://github.com/dfinity/ic/tree/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3/README.adoc#building-the-code
```
# 1. Get a copy of the code.
git clone git@github.com:dfinity/ic.git
cd ic
# Or, if you already have a copy of the ic repo,
git fetch
git checkout 00b04a892dfb2fee1459f1de9d4a731aa04f1ca3
# 2. Build canisters.
./ci/container/build-ic.sh -c
# 3. Fingerprint the result.
sha256sum ./artifacts/canisters/sns-wasm-canister.wasm.gz
```
This should match `wasm_module_hash` field of this proposal.
Vote: ADOPT
Hash Match: MATCH
Feedback: NONE
Proposer Check: MATCH
Target Canister: MATCH
Reason: I successfully built and verified the hash. All the commit descriptions match their code changes.
[5506c7c41e]
renames the dependency from ic-management-canister-types to ic-management-canister-types-private across the entire codebase. Same changes from IC_OS.
[01fcadfa69]
New query_stats field with detailed query statistics (such as call counts and payload byte totals) as part of the canister status response. This matches the description.
156d8ac3f3 chore(nns):
This updates the root changelog to 2025-02-03: Proposal 135064 that fixed LogVisibility to no longer panic.
5506c7c41e chore: [EXC-1835]
Sets the ic-management-canister-types to private without any functional changes, as part of transitioning to the public crate.
01fcadfa69 feat(nns/sns):
The main change adds the query_stats field for the canister_status/get_sns_canisters_summary methods.
The implementation of From<QueryStatsFromManagementCanister> for QueryStats converts a QueryStatsFromManagementCanister into a QueryStats. This wraps all fields in Some(...), converting them from their original types into Option<T>.
Fields of QueryStats :
Total number of query calls.
Total instructions used in queries.
Total size of request payloads in bytes.
Total size of response payloads in bytes.
About CodeGov
CodeGov has a team of developers who review and vote independently on the following proposal topics: IC-OS Version Election, Protocol Canister Management, Subnet Management, Node Admin, and Participant Management. The CodeGov NNS known neuron is configured to follow our reviewers on these technical topics. We also have a group of Followees who vote independently on the Governance and the SNS & Neuron’s Fund topics. We strive to be a credible and reliable Followee option that votes on every proposal and every proposal topic in the NNS. We also support decentralization of SNS projects such as WaterNeuron, KongSwap, and Alice with a known neuron and credible Followees.
Learn more about CodeGov and its mission at codegov.org.
5506c7c41e Renamed ic-management-canister-types from rs/types/management_canister_types and related imports to ic-management-canister-types-private.
01fcadfa69 Added optional query stats field to both CanisterStatusResult and CanisterStatusResultV2 structs and populate it with the data returned when calling canister_status from management canister.
About CodeGov
CodeGov has a team of developers who review and vote independently on the following proposal topics: IC-OS Version Election, Protocol Canister Management, Subnet Management, Node Admin, and Participant Management. The CodeGov NNS known neuron is configured to follow our reviewers on these technical topics. We also have a group of Followees who vote independently on the Governance and the SNS & Neuron’s Fund topics. We strive to be a credible and reliable Followee option that votes on every proposal and every proposal topic in the NNS. We also support decentralization of SNS projects such as WaterNeuron, KongSwap, and Alice with a known neuron and credible Followees.
Learn more about CodeGov and its mission at codegov.org.
[5506c7c41e]: Replaces all references to ic-management-canister-types with ic-management-canister-types-private since this types are made only for internal use and every other user should switch to use these types from a public crate.
[01fcadfa69]: Added the optional field query_stats to CanisterStatusResult and CanisterStatusResultV2 used for the response type in the NNS/SNS Root canister_status method.
About CodeGov
CodeGov has a team of developers who review and vote independently on the following proposal topics: IC-OS Version Election, Protocol Canister Management, Subnet Management, Node Admin, and Participant Management. The CodeGov NNS known neuron is configured to follow our reviewers on these technical topics. We also have a group of Followees who vote independently on the Governance and the SNS & Neuron’s Fund topics. We strive to be a credible and reliable Followee option that votes on every proposal and every proposal topic in the NNS. We also support decentralization of SNS projects such as WaterNeuron, KongSwap, and Alice with a known neuron and credible Followees.
Learn more about CodeGov and its mission at codegov.org.