Skip to content

Create shield controller #6137

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

matthiasgeihs
Copy link
Contributor

Explanation

New controller for MetaMask Shield.

References

Changelog

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@chaitanyapotti chaitanyapotti added the area-shield Transaction Shield label Jul 18, 2025
/**
* The internal actions available to the ShieldController.
*/
export type ShieldControllerActions = ShieldControllerCheckCoverageAction;
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice if we put all the types in separate file, e.g. types.ts

@@ -20,8 +20,6 @@ export default async function cli(
// Disable --version. This is an internal tool and it doesn't have a version.
.version(false)
.usage('$0 [args]')
// @ts-expect-error: The CommandModule<T, U>[] signature does in fact exist,
Copy link
Contributor

Choose a reason for hiding this comment

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

May I know why do we need to update this?
If it's not working, I think we should do it in separate PR :)

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

Successfully merging this pull request may close these issues.

3 participants