NNS Proposal 137283: Update SNS Aggregator

The Governance Team submitted the following proposal to upgrade the SNS Aggregator. DFINITY plans to vote on this proposals this Friday.

https://dashboard.internetcomputer.org/proposal/137283

This release improves the observability of the SNS framework by providing new metrics, e.g., regarding treasury asset consumption and voting power.

Proposal

# Upgrade SNS aggregator canister to commit `1444e16bc772180fd946e721859b231007dac9bd`
Wasm sha256 hash: `1c26af37c46b24c002781956b349f65f1984566c59af66bf01e696bd94189a50` (`release/ci/sns_aggregator.wasm.gz`)

## Change Log

* Fix an issue due to which metrics were not collected.
* Support new SNS metrics:
    * `treasury_metrics`
    * `voting_power_metrics`
    * `genesis_timestamp_seconds`
* Support `latest_reward_event`.

## Commit Log

```
+ bash -xc "git log --format='%C(auto) %h %s' 57566996c..1444e16bc ./rs/sns_aggregator/"
 1444e16bc bot: Update sns_aggregator candid bindings (#7087)
 b2e87977e Revert "chore: Bump IC types" (#7081)
 22a678391 chore: Bump IC types (#7078)
 02418178e fix(sns_aggregator): Call `get_metrics_replicated` instead of `get_metrics` (#7077)
 c06246e16 bot: Update sns_aggregator candid bindings (#7048)
 fb62edb76 feat(sns_aggregator): Scrape latest reward events from SNS Governance (#7046)
 446c2e43a Inactive sns status (#6944)
 d22e5852e bot: Update sns_aggregator candid bindings (#7014)
 76eecb9be bot: Update sns_aggregator candid bindings (#6967)
 6fa2f7a11 bot: Update sns_aggregator candid bindings (#6934)
 8c60c73d4 bot: Update sns_aggregator candid bindings (#6916)
 b4deb7ad8 bot: Update sns_aggregator candid bindings (#6828)
 303c93a03 bot: Update sns_aggregator candid bindings (#6790)
 757b65a86 bot: Update sns_aggregator candid bindings (#6761)
 0df46c6ff bot: Update sns_aggregator candid bindings (#6720)
 aa9456812 bot: Update sns_aggregator candid bindings (#6698)
 074b477f1 chore(deps): update rust to 1.86.0 (#6665)
```

## Forum
Please see the forum post here: https://forum.dfinity.org/t/52928

## Wasm Verification

To build the wasm module yourself and verify its hash, run the following commands from the root of the [nns-dapp repo](https://github.com/dfinity/nns-dapp):

```
git fetch  # to ensure you have the latest changes.
git checkout "1444e16bc772180fd946e721859b231007dac9bd"
./scripts/docker-build
sha256sum sns_aggregator.wasm.gz
```

Argument Verification

ARG='(null : null)'
didc encode "$ARG" | xxd -r -p | sha256sum
1 Like