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

Fix issue 24464 #24570

Merged
merged 3 commits into from
May 16, 2024
Merged

Fix issue 24464 #24570

merged 3 commits into from
May 16, 2024

Conversation

ejwessel
Copy link
Contributor

@ejwessel ejwessel commented May 16, 2024

Description

Open in GitHub Codespaces

Related issues

Fixes: #24464

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Signed-off-by: Ethan Wessel <ethan.wessel@consensys.net>
@ejwessel ejwessel requested a review from a team as a code owner May 16, 2024 20:59
Copy link
Contributor

CLA Signature Action:

Thank you for your submission, we really appreciate it. We ask that you read and sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just by adding a comment to this pull request with this exact sentence:

I have read the CLA Document and I hereby sign the CLA

By commenting with the above message you are agreeing to the terms of the CLA. Your account will be recorded as agreeing to our CLA so you don't need to sign it again for future contributions to this repository.

0 out of 1 committers have signed the CLA.
@ejwessel

@ejwessel
Copy link
Contributor Author

It seems 60e4dda
reintroduced the issue.

validator: (error: string | null) =>
error === null || typeof error === 'string',
type: 'object',
validator: (error: any) =>
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's use unknown here instead

error === null || typeof error === 'string',
type: 'object',
validator: (error: any) =>
error === null || typeof error === 'object',
Copy link
Contributor

Choose a reason for hiding this comment

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

The linter is also complaining about a new line here; there may be a broken setting in your VSCode

Signed-off-by: Ethan Wessel <ethan.wessel@consensys.net>
Signed-off-by: Ethan Wessel <ethan.wessel@consensys.net>
@sleepytanya
Copy link
Contributor

sleepytanya commented May 16, 2024

@ejwessel @BZahory
Not sure what's wrong, probably it is due to dev build being extremely slow but confirmation is stuck on estimation spinner:

estStuck.mov

If you close MM extended view (or close popup) and open it again the spinner is gone but no 'estimated changes' message is shown.

Screenshot 2024-05-16 at 18 40 22

@ejwessel ejwessel merged commit 9ddef50 into mb843/updates-2 May 16, 2024
50 of 63 checks passed
@ejwessel ejwessel deleted the mb843/issue#24464 branch May 16, 2024 23:28
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
@sleepytanya
Copy link
Contributor

It appears if I wait long enough the simulation doesn't fail:
https://jam.dev/c/d9cb3f46-a2b2-4641-943b-a2bed0126efa

@sleepytanya
Copy link
Contributor

sleepytanya commented May 17, 2024

Just for the tracking - it is a bug, simulations fail if send+swap performed for non-native tokens, build on mb843/updates-2:

https://jam.dev/c/602ed3dd-eb48-402d-abb3-c69a56f6b122

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants