Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

feat!: add KeyringExecutionContext to user ops methods #275

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

ccharly
Copy link
Contributor

@ccharly ccharly commented Mar 13, 2024

Description

Adding an additional parameter about the "execution context" (contains only chainId for now) for User operations methods. This will also help computing the CAIP-2 scope/chain-id for underlying calls later on.

Related to

  • metamask/accounts-planning/issues/307

@ccharly ccharly requested a review from a team as a code owner March 13, 2024 09:22
@danroc
Copy link
Contributor

danroc commented Mar 13, 2024

We could also have a Context type instead, wdyt?

@danroc danroc added team-accounts This should be handled by the Accounts Team DO-NOT-MERGE PRs related to this issue should not be merged labels Mar 13, 2024
@ccharly ccharly marked this pull request as draft March 13, 2024 13:04
@ccharly
Copy link
Contributor Author

ccharly commented Mar 13, 2024

That was my "end-goal plan" yes, but I wanted to keep it for another refactor later, but since those are new changes, I guess I can do that right now yes!

@ccharly ccharly force-pushed the feature/307/caip-2-user-ops branch 3 times, most recently from 9ed7afa to 6d33fb2 Compare March 13, 2024 15:37
@ccharly ccharly self-assigned this Mar 13, 2024
@ccharly ccharly changed the title feat!(307): add chainId to user ops methods feat!(307): add KeyringExecutionContext to user ops methods Mar 13, 2024
@ccharly ccharly force-pushed the feature/307/caip-2-user-ops branch from 6d33fb2 to 01fbc9b Compare March 14, 2024 10:55
@ccharly ccharly changed the title feat!(307): add KeyringExecutionContext to user ops methods feat!: add KeyringExecutionContext to user ops methods Mar 14, 2024
@ccharly ccharly force-pushed the feature/307/caip-2-user-ops branch from 01fbc9b to 7273f96 Compare March 14, 2024 10:57
@ccharly ccharly marked this pull request as ready for review March 14, 2024 10:57
@ccharly ccharly removed the DO-NOT-MERGE PRs related to this issue should not be merged label Mar 14, 2024
@ccharly ccharly added this pull request to the merge queue Mar 14, 2024
Merged via the queue into main with commit aa45d07 Mar 14, 2024
16 checks passed
@ccharly ccharly deleted the feature/307/caip-2-user-ops branch March 14, 2024 11:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
team-accounts This should be handled by the Accounts Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants