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

Add a metadata property for nonRPCGasFeeApisDisabled #4245

Merged
merged 2 commits into from
May 7, 2024

Conversation

danjm
Copy link
Contributor

@danjm danjm commented May 2, 2024

Explanation

This should have been part of #4094

The absence of this metadata results in an error being thrown from here: https://github.com/MetaMask/core/blob/main/packages/base-controller/src/BaseControllerV2.ts#L295-L297

Changelog

FIXED: Add metadata for the nonRPCGasFeeApisDisabled of gas-fee-controller state

@metamask/gas-fee-controller

  • FIXED: Add metadata for the nonRPCGasFeeApisDisabled of gas-fee-controller state

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 highlighted breaking changes using the "BREAKING" category above as appropriate

@danjm danjm requested a review from a team as a code owner May 2, 2024 05:02
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Makes sense!

@danjm danjm merged commit 24cb7d1 into main May 7, 2024
143 checks passed
@danjm danjm deleted the add-gas-controller-metadata branch May 7, 2024 19:57
This was referenced May 10, 2024
Gudahtt added a commit that referenced this pull request May 10, 2024
Patch release of `GasFeeController` to fix an error being thrown in the
extension background.

This includes the PR #4245

---------

Co-authored-by: Mark Stacey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants