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

Reorder MetaMask API entries #187

Merged
merged 12 commits into from
Feb 29, 2024
Merged

Reorder MetaMask API entries #187

merged 12 commits into from
Feb 29, 2024

Conversation

joaniekube
Copy link
Contributor

@joaniekube joaniekube commented Feb 21, 2024

Closes MetaMask/metamask-docs#1148

This PR reorders the API methods by:

  1. Wallet methods
  2. General MetaMask
  3. More specific Metamask
  4. General eth

These methods do not have labels, but in chatting with @shanejonas , it seems the following methods should be called from the execution-apis:
eth_subscribe
eth_unsubscribe
eth_sendTransaction
web3_clientVersion

For now, they are just above the other eth methods (with the exception of the eth_sendTransaction, which seems to be a bit different) . There is apparently a mismatch in the API of data vs input that needs to be fixed.

@joaniekube joaniekube requested a review from a team as a code owner February 21, 2024 22:24
@joaniekube joaniekube marked this pull request as draft February 22, 2024 15:26
@joaniekube joaniekube marked this pull request as ready for review February 23, 2024 20:03
Copy link
Contributor

@alexandratran alexandratran left a comment

Choose a reason for hiding this comment

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

Everything LGTM in the preview!

Copy link
Contributor

@vandan vandan left a comment

Choose a reason for hiding this comment

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

Ordering looks good. I haven't tested through a local or preview build though.

@joaniekube joaniekube merged commit 8d0fe21 into main Feb 29, 2024
5 checks passed
@joaniekube joaniekube deleted the 1148-reorder-api branch February 29, 2024 00:58
@joaniekube joaniekube changed the title Reorder and order MetaMask API entries Reorder MetaMask API entries Apr 8, 2024
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.

Reorder Wallet RPC API methods
3 participants