-
Notifications
You must be signed in to change notification settings - Fork 11
Mtp bug fixes v07 #225
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
Mtp bug fixes v07 #225
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThis PR performs a major backend migration from ethers.js to viem for Ethereum interactions, switches the build system from npm/Node to Bun, removes the ERC20 Paymaster module, eliminates the PAYMASTER_ADDRESS constant, and updates version to 4.2.0. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Route
participant PaymasterService
participant PublicClient as Viem PublicClient
participant SignerAccount as PrivateKeyAccount
Note over Client,SignerAccount: Old Flow (ethers)
Client->>Route: POST /paymaster/quote
Route->>PaymasterService: signV07(userOp, Wallet)
PaymasterService->>PaymasterService: ethers.Contract.read()
PaymasterService->>PaymasterService: Wallet.signMessage()
PaymasterService-->>Client: paymasterAndData
Note over Client,SignerAccount: New Flow (viem)
Client->>Route: POST /paymaster/quote
Route->>PaymasterService: signV07(userOp, PrivateKeyAccount)
PaymasterService->>PublicClient: publicClient.readContract()
PublicClient-->>PaymasterService: on-chain data
PaymasterService->>SignerAccount: account.signMessage()
SignerAccount-->>PaymasterService: signature
PaymasterService-->>Client: paymasterAndData
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (3 warnings)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ch4r10t33r
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
|
bump the version @vignesha22 |
Deploying arka with
|
| Latest commit: |
31e7d21
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://217b2e20.arka-3qg.pages.dev |
| Branch Preview URL: | https://mtp-bug-fixes-v08.arka-3qg.pages.dev |
Description
Types of changes
What types of changes does your code introduce?
Further comments (optional)
Summary by CodeRabbit
Release Notes v4.2.0
Chores
Removed Features