Skip to content

Minimise public API of Tx controller#1581

Merged
OGPoyraz merged 6 commits intomainfrom
963-minimise-the-public-api-of-the-core-transaction-controller
Aug 18, 2023
Merged

Minimise public API of Tx controller#1581
OGPoyraz merged 6 commits intomainfrom
963-minimise-the-public-api-of-the-core-transaction-controller

Conversation

@OGPoyraz
Copy link
Copy Markdown
Member

@OGPoyraz OGPoyraz commented Aug 15, 2023

Explanation

This PR aims to pull couple of public methods into private since they are not used by clients.

Changelog

@metamask/transaction-controller

  • BREAKING: Make prepareUnsignedEthTx and getCommonConfiguration methods to private.

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

@OGPoyraz OGPoyraz requested a review from a team as a code owner August 15, 2023 10:42
@OGPoyraz OGPoyraz force-pushed the 963-minimise-the-public-api-of-the-core-transaction-controller branch 2 times, most recently from 1b16784 to 3684f32 Compare August 16, 2023 07:31
@OGPoyraz OGPoyraz force-pushed the 963-minimise-the-public-api-of-the-core-transaction-controller branch from 3684f32 to 78eab73 Compare August 16, 2023 09:12
@mcmire
Copy link
Copy Markdown
Contributor

mcmire commented Aug 17, 2023

Should we note these changes as breaking in the PR description just so we're more aware of them?

@OGPoyraz
Copy link
Copy Markdown
Member Author

Should we note these changes as breaking in the PR description just so we're more aware of them?

This is already been checked on mobile and make sure that there are no usage. But technically still a BC, so I marked it.

@OGPoyraz OGPoyraz merged commit 3a198f2 into main Aug 18, 2023
@OGPoyraz OGPoyraz deleted the 963-minimise-the-public-api-of-the-core-transaction-controller branch August 18, 2023 05:58
@matthewwalsh0 matthewwalsh0 mentioned this pull request Aug 24, 2023
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
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