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

feat(keyring-utils): add isScopeEqual + isScopeEqualToAny #222

Merged
merged 4 commits into from
Feb 20, 2025

Conversation

ccharly
Copy link
Collaborator

@ccharly ccharly commented Feb 19, 2025

Adding new util functions to compare 2 scopes (CAIP-2 chain ID) together (also supporting the special EOA case: eip155:0).

@ccharly ccharly requested a review from a team as a code owner February 19, 2025 21:42
@ccharly ccharly changed the title feat(keyring-utils): add isScopeCompatibleWith feat(keyring-utils): add isScopeEqual + isScopeEqualToAny Feb 19, 2025
@ccharly ccharly force-pushed the feat/is-scope-compatible-with branch from c86cad3 to 7360e49 Compare February 19, 2025 21:44
@ccharly ccharly force-pushed the feat/is-scope-compatible-with branch from 7360e49 to d6d0a22 Compare February 20, 2025 09:40
Co-authored-by: Daniel Rocha <[email protected]>
@ccharly ccharly added this pull request to the merge queue Feb 20, 2025
Merged via the queue into main with commit 0abfd7f Feb 20, 2025
31 checks passed
@ccharly ccharly deleted the feat/is-scope-compatible-with branch February 20, 2025 13:26
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.

2 participants