Review proposal 133186

Proposal Review To Reinstall the Bitcoin Tesnet Canister

50a72942bf29c373a3c4fae043b29367fe01d079de772dac92e483221143a6be  block_headers
65339026ac4fc4811e64bf07fda60a56181fcfc7c4b050e66475c59ead56389d  utxodump.csv
81aa24b5b76b6bdb51b835df6d7dd4960cd51a1f5c7afc54e0e11aa7be8692fe  utxodump_shuffled.csv
85f819bd29701f4401bcc8b71ec9c5c262e382f28217a41e0518053ce4237829  canister_state.bin

In the ./bootstrap/canister_state directory:

717c2e18fec87e49778c6115d23b38bc26ecd4faccb7f724e7472d8993e15325  ./bootstrap/canister_state/small_utxos
6911f4d3036205736b06a9f7ce93b1b951df957eeb18d95d3836589a15b7d47d  ./bootstrap/canister_state/address_utxos
2c53f66bc38dad1f0d8e029369865c177f9d8e41bb8e316d899a4ac6d044a162  ./bootstrap/canister_state/medium_utxos
aaf5b4b76fefcfb4337088f686853bdfa2ffa24ff5a699740415d39346906d2c  ./bootstrap/canister_state/large_utxos
402abe060c7323ee0c2ef8c04fa94791413e2f25df876bdd6a36ed614d0942ba  ./bootstrap/canister_state/balances

For the wasm hash, I end up with the following:

98d0ea00d3a8b16c83c44a3083aeea174ffb111f5697ac9e88050934ced5b340  uploader.wasm.gz

Args are correct:

didc encode -t '(nat64)' "(1591041)"
4449444c0001780147180000000000

@Dylan It seems that the Type displayed on the bottom left doesn’t correspond to the payload. I would have expected mode reinstall.

Hi @0rions, the Type field displays the proposal type, which for this proposal corresponds to the proposal action and is “Install Code”.

You can call get_proposal_info directly on the NNS Governance canister to get the raw data.

action = opt variant {
  InstallCode = record {
    skip_stopping_before_installing = opt false;
    wasm_module_hash = opt blob "\46\dd\0e\84\70\a4\b8\8b\46\e2\52\70\4a\bf\f7\34\a4\8f\16\56\ac\7a\ad\12\4e\51\d8\35\0e\53\3c\fa";
    canister_id = opt principal "g4xu7-jiaaa-aaaan-aaaaq-cai";
    arg_hash = opt blob "\0c\10\58\0b\21\cc\ba\c2\1c\5d\62\5e\9b\ed\8f\a3\3e\a0\ca\d5\fe\de\0a\bf\2c\7f\3b\5a\5e\4c\ec\c9";
    install_mode = opt (2 : int32);
  }
};

As far as expecting mode “reinstall”, that is not part of the proposal type, but the install mode is part of the payload, as you pointed out.