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

Add ConstructRemoveAuthorizedParty #48

Merged
merged 1 commit into from
Oct 15, 2020
Merged

Add ConstructRemoveAuthorizedParty #48

merged 1 commit into from
Oct 15, 2020

Conversation

jleni
Copy link
Member

@jleni jleni commented Oct 15, 2020

Add test

@jleni jleni merged commit 95faded into master Oct 15, 2020
@jleni jleni deleted the RemoveSigner branch October 15, 2020 18:00
@jleni jleni linked an issue Oct 15, 2020 that may be closed by this pull request
Copy link

@arajasek arajasek left a comment

Choose a reason for hiding this comment

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

looks like some copy-pasting bugs

params := &multisigV1.ProposeParams{
To: to,
Value: types.NewInt(0),
Method: builtinV1.MethodsMultisig.SwapSigner,

Choose a reason for hiding this comment

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

Should be calling RemoveSigner

Copy link
Contributor

Choose a reason for hiding this comment

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

good 👁️ s. @raynaudoe can we fix it?

Copy link
Member Author

Choose a reason for hiding this comment

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

oopsss 👍
we definitely need a bit more coverage here

params := &multisigV2.ProposeParams{
To: to,
Value: types.NewInt(0),
Method: builtinV2.MethodsMultisig.SwapSigner,

Choose a reason for hiding this comment

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

Should be calling RemoveSigner

Decrease bool `json:"decrease"`
}

// RemoveAuthorizedPartyRequest defines the input to ConstructSwapAuthorizedParty

Choose a reason for hiding this comment

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

Comment is incorrect, should be ConstructRemoveAuthorizedParty

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.

Add support for Remove Signers API
4 participants