Skip to content

Multichain: Do not add permittedChain scope for snaps. Use new networkConfigurationsByChainId property#27849

Merged
jiexi merged 5 commits intocaip-multichainfrom
jl/caip-multichain/do-not-add-permittedChains-for-snaps
Oct 15, 2024
Merged

Multichain: Do not add permittedChain scope for snaps. Use new networkConfigurationsByChainId property#27849
jiexi merged 5 commits intocaip-multichainfrom
jl/caip-multichain/do-not-add-permittedChains-for-snaps

Conversation

@jiexi
Copy link
Copy Markdown
Member

@jiexi jiexi commented Oct 14, 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.

@github-actions
Copy link
Copy Markdown
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.

@github-actions github-actions bot added the team-wallet-api-platform-deprecated DEPRECATED: please use "team-wallet-integrations" instead label Oct 14, 2024
@jiexi jiexi changed the title Jl/caip multichain/do not add permitted chains for snaps Multichain: Do not add permittedChain scope for snaps. Use new networkConfigurationsByChainId property Oct 14, 2024
@jiexi
Copy link
Copy Markdown
Member Author

jiexi commented Oct 14, 2024

Should revisit if we really need to set accounts on wallet too right now

@jiexi jiexi marked this pull request as ready for review October 15, 2024 15:54
@jiexi jiexi requested a review from a team as a code owner October 15, 2024 15:54
},
'wallet:eip155': {
accounts: [
'wallet:eip155:0xdeadbeef',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I feel like this is a good illustration of why having CAIP-10 addresses in this array is silly. 🤷

Copy link
Copy Markdown
Contributor

@adonesky1 adonesky1 left a comment

Choose a reason for hiding this comment

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

LGTM

@jiexi jiexi merged commit 92a1d24 into caip-multichain Oct 15, 2024
@jiexi jiexi deleted the jl/caip-multichain/do-not-add-permittedChains-for-snaps branch October 15, 2024 16:00
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

team-wallet-api-platform-deprecated DEPRECATED: please use "team-wallet-integrations" instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants