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

Remove useExternalServices check for isDecodeSignatureRequestEnabled #29847

Open
9 tasks
digiwand opened this issue Jan 22, 2025 · 0 comments · May be fixed by #29909
Open
9 tasks

Remove useExternalServices check for isDecodeSignatureRequestEnabled #29847

digiwand opened this issue Jan 22, 2025 · 0 comments · May be fixed by #29909
Labels
team-confirmations Push issues to confirmations team

Comments

@digiwand
Copy link
Contributor

What is this about?

Based on discussion, since the decoder API is an internal service that doesn't send data to any external services, we can remove the useExternalServices check.

decoderAPI should only check useTransactionSimulations

In metamask-controller,

      isDecodeSignatureRequestEnabled: () =>
        this.preferencesController.state.useExternalServices === true &&
        this.preferencesController.state.useTransactionSimulations,

      isDecodeSignatureRequestEnabled: () =>
        this.preferencesController.state.useTransactionSimulations,

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

No response

Stakeholder review needed before the work gets merged

  • Engineering (needed in most cases)
  • Design
  • Product
  • QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • Security
  • Legal
  • Marketing
  • Management (please specify)
  • Other (please specify)

References

No response

@digiwand digiwand added the team-confirmations Push issues to confirmations team label Jan 22, 2025
rounakkraaj-1744 added a commit to rounakkraaj-1744/metamask-extension-forked that referenced this issue Jan 26, 2025
…ices check for isDecodeSignatureRequestEnabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-confirmations Push issues to confirmations team
Projects
None yet
1 participant