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 methods from multichain API #25841

Merged

Conversation

adonesky1
Copy link
Contributor

@adonesky1 adonesky1 commented Jul 15, 2024

Description

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@adonesky1 adonesky1 requested a review from a team as a code owner July 15, 2024 20:40
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

{ origin },
{ eth_accounts: {} },
),
requestPermittedChainsPermission: (chainIds) =>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

dang seems like we can't remove this one yet either

// to our permissioning logic in the JSON-RPC middleware pipeline.
export const createMethodMiddleware = makeMethodMiddlewareMaker(allHandlers);
export const createLegacyMethodMiddleware =
Copy link
Contributor

Choose a reason for hiding this comment

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

thoughts on something like this? Legacy already means something already, so doing this increases potential confusion

Suggested change
export const createLegacyMethodMiddleware =
export const createEip1193MethodMiddleware =

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I considered this as well. Yeah we could go with this.

@adonesky1 adonesky1 force-pushed the ad/remove-non-multichain-methods-from-multichain-api branch from 40bd03b to cd2a9a9 Compare July 15, 2024 22:19
@adonesky1 adonesky1 force-pushed the ad/remove-non-multichain-methods-from-multichain-api branch from cd2a9a9 to e2c1f68 Compare July 15, 2024 22:30
@adonesky1 adonesky1 merged commit dbf562a into caip-multichain Jul 16, 2024
67 of 69 checks passed
@adonesky1 adonesky1 deleted the ad/remove-non-multichain-methods-from-multichain-api branch July 16, 2024 13:06
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants