-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
#!/bin/bash | ||
set -eo pipefail | ||
|
||
## FOR MAINNET ONLY | ||
|
||
# Setting env variables in the current bash shell | ||
source solana.env | ||
|
||
# TODO: transfer upgrade authority to Threshold Council Multisig | ||
## Transfer authority to the Threshold Council Multisig. (for mainnet only) | ||
# make transfer_authority | ||
|
||
## Transfer upgrade authority to Threshold Council Multisig | ||
# solana program set-upgrade-authority -k <current_keypair_path> <programID> --new-upgrade-authority <pubkey> | ||
|
||
# Transfer authority to the Threshold Council Multisig | ||
# TODO: verify if the authority was actually transferred. | ||
anchor run authority --provider.cluster $CLUSTER | ||
## Threshold Council Multisig has to accept the ownership by executing | ||
## `takeAuthority` instruction |