Skip to content

Commit

Permalink
feat(proposal_cli): FI-1567: Add arguments hash to summary (#2421)
Browse files Browse the repository at this point in the history
Add the hash of the upgrade/install args to the summary generated by the
`proposal-cli`.
  • Loading branch information
mbjorkqvist authored Nov 5, 2024
1 parent 42cc5b6 commit d0b007b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rs/cross-chain/proposal-cli/templates/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

---
Expand Down
2 changes: 2 additions & 0 deletions rs/cross-chain/proposal-cli/templates/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)}}
Expand Down

0 comments on commit d0b007b

Please sign in to comment.