-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multisig command export and execute options #155
Conversation
557ddfd
to
8d1d8d6
Compare
gauntlet/packages/gauntlet-serum-multisig/src/commands/inspect.ts
Outdated
Show resolved
Hide resolved
gauntlet/packages/gauntlet-serum-multisig/src/commands/multisig.ts
Outdated
Show resolved
Hide resolved
gauntlet/packages/gauntlet-serum-multisig/src/commands/multisig.ts
Outdated
Show resolved
Hide resolved
@@ -1,5 +1,5 @@ | |||
{ | |||
"version": "0.0.0", | |||
"version": "0.8.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one should be "version": "0.9.0"
. You can take it from the multisig PR #157.
* added local and ledger wallet support * Commands inherits multiig wallet * refactor and improvements * More IDL wrappings and improvements * Improved logging information * Small improvements on msig commands
…nlink-solana into multisig-export-tx
|
||
export default class SetOwners extends SolanaCommand { | ||
static id = 'set:owners' | ||
static id = 'set_owners' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we namespace other commands we should do the same here:
static id = 'set_owners' | |
static id = 'multisig:set_owners' |
This is consistent with multisig:inspect
.
static examples = [ | ||
'yarn gauntlet-serum-multisig set:owners --network=local --approve --tx=9Vck9Gdk8o9WhxT8bgNcfJ5gbvFBN1zPuXpf8yu8o2aq --execute AGnZeMWkdyXBiLDG2DnwuyGSviAbCGJXyk4VhvP9Y51M QMaHW2Fpyet4ZVf7jgrGB6iirZLjwZUjN9vPKcpQrHs', | ||
] | ||
static examples = ['yarn gauntlet-serum-multisig set_owners --network=local'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static examples = ['yarn gauntlet-serum-multisig set_owners --network=local'] | |
static examples = ['yarn gauntlet-serum-multisig set_owners --network=local [OWNERS...]'] |
|
||
export default class SetThreshold extends SolanaCommand { | ||
static id = 'set:threshold' | ||
static id = 'set_threshold' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static id = 'set_threshold' | |
static id = 'multisig:set_threshold' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should probably be multisig:change_threshold
as this is the instruction we call.
--execute
is provided, will use local wallet to sign and broadcast the tx