Skip to content
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

Merged
merged 13 commits into from
Feb 3, 2022
Merged

Conversation

RodrigoAD
Copy link
Member

  • By default, it will prompt the tx execution data
  • if flag --execute is provided, will use local wallet to sign and broadcast the tx

@@ -1,5 +1,5 @@
{
"version": "0.0.0",
"version": "0.8.0",
Copy link
Collaborator

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.

RodrigoAD and others added 7 commits January 28, 2022 15:08
* 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

export default class SetOwners extends SolanaCommand {
static id = 'set:owners'
static id = 'set_owners'
Copy link
Collaborator

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:

Suggested change
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']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
static id = 'set_threshold'
static id = 'multisig:set_threshold'

Copy link
Collaborator

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.

@RodrigoAD RodrigoAD merged commit 827c07e into develop Feb 3, 2022
@RodrigoAD RodrigoAD deleted the multisig-export-tx branch February 3, 2022 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants