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

[wallet/desktop] fix: cosign form is not presented for multisig tx iss#1863 #1881

Merged

Conversation

OlegMakarenko
Copy link
Contributor

@OlegMakarenko OlegMakarenko commented Jul 26, 2022

Problem

  • In some specific cases where the account is a cosigner of multiple multisig-accounts wallets are not present button to sign a transaction.
  • Some accounts are missing in multisig tree.

Solution

  • Fetch full multisig tree.
  • Added new multisig view.

image

@OlegMakarenko OlegMakarenko changed the title [wallet/desktop] fix: cosign form is not presented for multisig tx iss#1863 [wallet/desktop] fix: cosign form is not presented for multisig tx iss#1863 [WIP] Jul 26, 2022
@OlegMakarenko OlegMakarenko reopened this Jul 29, 2022
@OlegMakarenko OlegMakarenko changed the title [wallet/desktop] fix: cosign form is not presented for multisig tx iss#1863 [WIP] [wallet/desktop] fix: cosign form is not presented for multisig tx iss#1863 Jul 29, 2022
@codecov-commenter
Copy link

codecov-commenter commented Aug 1, 2022

Codecov Report

Merging #1881 (7106ff8) into dev (8334bb5) will increase coverage by 0.62%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #1881      +/-   ##
==========================================
+ Coverage   25.58%   26.20%   +0.62%     
==========================================
  Files         591      591              
  Lines       14022    14068      +46     
  Branches     2372     2377       +5     
==========================================
+ Hits         3588     3687      +99     
+ Misses      10349    10297      -52     
+ Partials       85       84       -1     
Flag Coverage Δ
wallet-desktop 26.20% <100.00%> (+0.62%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ents/AccountMultisigGraph/AccountMultisigGraph.vue 100.00% <ø> (ø)
...accounts/AccountDetailsPage/AccountDetailsPage.vue 100.00% <ø> (+100.00%) ⬆️
...nts/AccountMultisigGraph/AccountMultisigGraphTs.ts 100.00% <100.00%> (ø)
src/store/Account.ts 11.11% <100.00%> (+5.83%) ⬆️
...ccounts/AccountDetailsPage/AccountDetailsPageTs.ts 33.66% <100.00%> (+33.66%) ⬆️
...ImportanceScoreDisplay/ImportanceScoreDisplayTs.ts 26.66% <0.00%> (+26.66%) ⬆️
.../ImportanceScoreDisplay/ImportanceScoreDisplay.vue 100.00% <0.00%> (+100.00%) ⬆️

@OlegMakarenko OlegMakarenko merged commit 48a69cf into symbol:dev Aug 2, 2022
OlegMakarenko added a commit that referenced this pull request Aug 3, 2022
…s#1863 (#1881)

* [wallet/desktop] fix: cosign form is not presented for multisig tx

fix multisig graph action

* [wallet/desktop] task: update AccountMultisigGraph test

* [wallet/desktop] task: use root and current multisig graph to check if tx needs cosignature

* [wallet/desktop] feat: add new multisig graph presentation, fix graph construction

* [wallet/desktop] task: update and add tests for AccountMultisigGraph component

* [wallet/desktop] task: show multisig graph for cosigners

* [wallet/desktop] task: sort multisig graph by address, remove old tree

* [wallet/desktop] task: add test for AccountDetailsPage

* [wallet/desktop] fix: AccountDetailsPage test

* [wallet/desktop] task: add test for Account store module

* [wallet/desktop] fix: typo

* [wallet/desktop] task: update test for AccountMultisigGraph component
yilmazbahadir pushed a commit that referenced this pull request Aug 9, 2022
…s#1863 (#1881)

* [wallet/desktop] fix: cosign form is not presented for multisig tx

fix multisig graph action

* [wallet/desktop] task: update AccountMultisigGraph test

* [wallet/desktop] task: use root and current multisig graph to check if tx needs cosignature

* [wallet/desktop] feat: add new multisig graph presentation, fix graph construction

* [wallet/desktop] task: update and add tests for AccountMultisigGraph component

* [wallet/desktop] task: show multisig graph for cosigners

* [wallet/desktop] task: sort multisig graph by address, remove old tree

* [wallet/desktop] task: add test for AccountDetailsPage

* [wallet/desktop] fix: AccountDetailsPage test

* [wallet/desktop] task: add test for Account store module

* [wallet/desktop] fix: typo

* [wallet/desktop] task: update test for AccountMultisigGraph component
yilmazbahadir pushed a commit that referenced this pull request Aug 9, 2022
…s#1863 (#1881)

* [wallet/desktop] fix: cosign form is not presented for multisig tx

fix multisig graph action

* [wallet/desktop] task: update AccountMultisigGraph test

* [wallet/desktop] task: use root and current multisig graph to check if tx needs cosignature

* [wallet/desktop] feat: add new multisig graph presentation, fix graph construction

* [wallet/desktop] task: update and add tests for AccountMultisigGraph component

* [wallet/desktop] task: show multisig graph for cosigners

* [wallet/desktop] task: sort multisig graph by address, remove old tree

* [wallet/desktop] task: add test for AccountDetailsPage

* [wallet/desktop] fix: AccountDetailsPage test

* [wallet/desktop] task: add test for Account store module

* [wallet/desktop] fix: typo

* [wallet/desktop] task: update test for AccountMultisigGraph component
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.

Not able to sign multisig transaction when account is cosigner of multiple multisig accounts
3 participants