Skip to content

e2e Send to Multisig Wallet#17565

Merged
seaona merged 5 commits intodevelopfrom
e2e-multisig
Feb 10, 2023
Merged

e2e Send to Multisig Wallet#17565
seaona merged 5 commits intodevelopfrom
e2e-multisig

Conversation

@seaona
Copy link
Copy Markdown
Member

@seaona seaona commented Feb 2, 2023

Explanation

Context: there's been an issue with Sending ETH to Multisig Wallets, resulting in failing the transaction with the error Cannot convert string to buffer. See more here: #17488

What: This PR adds en e2e test for Sending ETH to a Multisig Wallet.

How:

  1. Adding the Bytecode and ABI for the Multisig contract on the Test-Dapp [done in this PR]
  2. Releasing a new Test-Dapp version with the changes [done]
  3. Updating the Test-Dapp to the latest version [done]
  4. Adding the e2e testcase for checking the functionality [done]

Note: at the moment the test will fail, as the issue is still pending to be fixed. In the video below you can see how the issue is surfacing, proving that the Multisig contract is working correctly.

Once fixed, the test should pass.

Screenshots/Screencaps

send-multisig-e2e.mp4

Before

/

After

/

Manual Testing Steps

  1. yarn build:test
  2. yarn test:e2e:single test/e2e/tests/send-hex-address.spec.js --browser=firefox --leave-running=true

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

If further QA is required (e.g. new feature, complex testing steps, large refactor), add the Extension QA Board label.

In this case, a QA Engineer approval will be be required.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 2, 2023

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@seaona seaona marked this pull request as ready for review February 10, 2023 10:56
@seaona seaona requested a review from a team as a code owner February 10, 2023 10:56
@seaona seaona requested a review from darkwing February 10, 2023 10:56
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [841c505]
Page Load Metrics (1314 ± 162 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint95154114136
domContentLoaded93420381296344165
load99320381314338162
domInteractive93420381296344165

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [88cf475]
Page Load Metrics (1326 ± 123 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint99157115157
domContentLoaded101817001296256123
load102918191326255123
domInteractive101817001296256123

Copy link
Copy Markdown
Contributor

@PeterYinusa PeterYinusa left a comment

Choose a reason for hiding this comment

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

LGTM.
Can we also add a test for sending to a multisig with a dapp initiated send, can be a separate PR

@seaona
Copy link
Copy Markdown
Member Author

seaona commented Feb 10, 2023

sure @PeterYinusa that's a great idea, since the behaviors differ on the background. I'll create a separate PR for that. And we have another pending one for sending an ERC20 token to a Multisig which will come shortly.
Thank you!!

@seaona seaona merged commit 1dbacc2 into develop Feb 10, 2023
@seaona seaona deleted the e2e-multisig branch February 10, 2023 14:35
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[e2e] Send to a Multisig Address

5 participants