From d0b007bd80506562b88a88e0d8a07a5ca58aa2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Bj=C3=B6rkqvist?= Date: Tue, 5 Nov 2024 20:45:12 +0100 Subject: [PATCH] feat(proposal_cli): FI-1567: Add arguments hash to summary (#2421) Add the hash of the upgrade/install args to the summary generated by the `proposal-cli`. --- rs/cross-chain/proposal-cli/templates/install.md | 2 ++ rs/cross-chain/proposal-cli/templates/upgrade.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rs/cross-chain/proposal-cli/templates/install.md b/rs/cross-chain/proposal-cli/templates/install.md index 7aa540b2a74..c77a3f1c133 100644 --- a/rs/cross-chain/proposal-cli/templates/install.md +++ b/rs/cross-chain/proposal-cli/templates/install.md @@ -6,6 +6,8 @@ Git hash: `{{at}}` New compressed Wasm hash: `{{compressed_wasm_hash}}` +Install args hash: `{{install_args.args_sha256_hex()}}` + Target canister: `{{canister_id}}` --- diff --git a/rs/cross-chain/proposal-cli/templates/upgrade.md b/rs/cross-chain/proposal-cli/templates/upgrade.md index 8487a10dda6..604051633b4 100644 --- a/rs/cross-chain/proposal-cli/templates/upgrade.md +++ b/rs/cross-chain/proposal-cli/templates/upgrade.md @@ -6,6 +6,8 @@ Git hash: `{{to}}` New compressed Wasm hash: `{{compressed_wasm_hash}}` +Upgrade args hash: `{{upgrade_args.args_sha256_hex()}}` + Target canister: `{{canister_id}}` Previous {{canister}} proposal: {{Self::previous_upgrade_proposal_url(self)}}