cli: Handle Solana initialization flow for undeployed program and SPL Multisig mint authority#649
Conversation
Updated
|
|
What do you think about adding some consistent formatting rules to not run into indentation with different PRs? Will make readability of new PRs also easier. |
Yes, I agree. This was something I had messed around with briefly. However, I believe that would be its own cleanup PR as it affects all TS files across all directories. |
|
tested: |
255248c to
2d38b1e
Compare
2d38b1e to
5f94da9
Compare
… Multisig mint authority (#649) This PR adds: * Update `set-mint-authority` command to work as described in [this comment](wormhole-foundation/native-token-transfers#649 (comment)) * Update `create-spl-multisig` command to work similar to `set-mint-authority` and is described in the same comment * Update `deploySolana` to handle NTT initialization with current mint authority being valid SPL Multisig * Add `checkSolanaValidSplMultisig` helper that checks if address corresponds to valid SPL Multisig
This PR adds:
set-mint-authoritycommand to work as described in this commentcreate-spl-multisigcommand to work similar toset-mint-authorityand is described in the same commentdeploySolanato handle NTT initialization with current mint authority being valid SPL MultisigcheckSolanaValidSplMultisighelper that checks if address corresponds to valid SPL Multisig