Skip to content

Commit 4124b68

Browse files
committed
Add instructions for verifying builds
1 parent 7294eb2 commit 4124b68

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

VERIFYING-BUILDS.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Verifying Builds
2+
3+
If you're on the MetaDAO security council, you will need to verify builds before
4+
allowing the program to be upgraded. Here's how to do it:
5+
6+
1. Open up `futarchy` on GitHub.com
7+
2. Navigate to the 'Actions' tab
8+
3. Click on the 'generate-verifiable-builds' workflow
9+
4. Click on the latest commit
10+
5. Click on the relevant program
11+
6. Open up the `anchor-verifiable-build` step
12+
7. Verify that the action name is `metadaoproject/anchor-verifiable-build@v0.2`
13+
8. Scroll down to the bottom of the step, you should see a hash right below "Program Solana version: vx.y.z"
14+
9. Open up app.squads.so
15+
10. Click on the program upgrade transaction, you should be able to see the buffer account from either simulating
16+
the transaction or looking at the transaction details
17+
11. Now open up a terminal and run the following command: `solana-verify get-buffer-hash ${BUFFER_ACCT}` where
18+
`${BUFFER_ACCT}` is the buffer account from step 10
19+
12. Compare the hash from step 11 with the hash from step 8, if they match, you can approve the upgrade
20+

0 commit comments

Comments
 (0)