Skip to content

Commit

Permalink
Go
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Mar 22, 2024
1 parent 4b928b7 commit 4342df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pips/operational/op-pip-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ https://github.com/pyth-network/pyth-crosschain/commit/1e5df8537adbecf300fa51a8b
5. In the [proposal page](https://proposals.pyth.network/?tab=proposals&proposal=FZJywtTuJqZMRtP72Vh4dvcBhduGHLNz58Y3X3C5EpW6), look at the following two important keys:
1. The `program` field should match the program we're trying to upgrade.
2. The `buffer` field is the account that contains the proposed new implementation for the program. Copy the address.
6. Get the hash of the proposed buffer `solana -u m program dump <buffer> temp_file && shasum -a 256 temp_file && rm temp_file`
6. Get the hash of the proposed buffer `solana -u m program dump <buffer> temp_file && sha256sum temp_file && rm temp_file`
7. Make sure the hash from step 4 and from step 6 match.

0 comments on commit 4342df6

Please sign in to comment.