If you're on the MetaDAO security council, you will need to verify builds before allowing the program to be upgraded. Here's how to do it:
- Open up
futarchy
on GitHub.com - Navigate to the 'Actions' tab
- Click on the 'generate-verifiable-builds' workflow
- Click on the latest commit
- Click on the relevant program
- Open up the
anchor-verifiable-build
step - Verify that the action name is
metadaoproject/[email protected]
- Scroll down to the bottom of the step, you should see a hash right below "Program Solana version: vx.y.z"
- Open up app.squads.so
- Click on the program upgrade transaction, you should be able to see the buffer account from either simulating the transaction or looking at the transaction details
- Now open up a terminal and run the following command:
solana-verify get-buffer-hash ${BUFFER_ACCT}
where${BUFFER_ACCT}
is the buffer account from step 10 - Compare the hash from step 11 with the hash from step 8, if they match, you can approve the upgrade