Skip to content

Commit

Permalink
Merge branch 'fix-arg-verification-instructions' into 'master'
Browse files Browse the repository at this point in the history
Chore(nns): Fix arg validation instructions

 

See merge request dfinity-lab/public/ic!20323
  • Loading branch information
jasonz-dfinity committed Jul 9, 2024
2 parents 60f1411 + 1341a77 commit c41b9d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testnet/tools/nns-tools/lib/proposals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ $([ ! -z "$CANDID_ARGS" ] && echo "## Candid Post Upgrade Args
$CANDID_ARGS
\`\`\`
### Validating Candid Args
Verify that the hash of the args matches proposal contents.
\`didc encode '$CANDID_ARGS' | xxd -r -p | sha256sum\`
Verify that the encoded version of the plaintext args matches the \`arg_hex\` field in the proposal.
\`didc encode '$CANDID_ARGS'\`
")
## Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
Expand Down

0 comments on commit c41b9d5

Please sign in to comment.