Skip to content

Fix for error during sending to multisig address#17651

Merged
brad-decker merged 1 commit intodevelopfrom
fix-17488
Feb 9, 2023
Merged

Fix for error during sending to multisig address#17651
brad-decker merged 1 commit intodevelopfrom
fix-17488

Conversation

@segun
Copy link
Copy Markdown
Contributor

@segun segun commented Feb 7, 2023

Explanation

If you try to send ETH to a multisig Gnosis Safe wallet address, the transaction fails and you get the below error

Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: 0xa021.8

This is caused by a bug in how we handle round-ing numbers.

Screenshots/Screencaps

Before

send-multisig.mp4

After

new.mov

Manual Testing Steps

  1. On develop branch, follow the steps in the before video above to reproduce the error
  2. On this branch, follow the steps in the after video to see the fix.

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.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
@segun segun requested a review from a team as a code owner February 7, 2023 21:20
@segun segun requested a review from montelaidev February 7, 2023 21:20
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 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.

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [fd5ee37]
Page Load Metrics (1287 ± 125 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint94148116157
domContentLoaded99517091221259124
load99518381287260125
domInteractive99517091221259124
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 bytes
  • ui: 0 bytes
  • common: 16 bytes

@brad-decker brad-decker merged commit 6b64572 into develop Feb 9, 2023
@brad-decker brad-decker deleted the fix-17488 branch February 9, 2023 16:49
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 9, 2023
@danjm danjm added the regression-RC DEPRECATED: Please use "regresssion-RC-x.y.z" label instead label Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

rc-cherry-picked regression-RC DEPRECATED: Please use "regresssion-RC-x.y.z" label instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Cannot send ETH to a Multisig Unable to determine contract standard and Cannot convert string to buffererrors appear

6 participants