bcnmy / bcnmy/userop-debugger-backend
Get Beneficiary from UserOp - AA90 & AA91
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Background
AA-90: rervert error when handleOps has beneficiary Address as Zero Address
AA-91: failure to Compensate the caller's beneficiary address with the collected fees of all UserOperations.
in Case-1 for AA-90 beneficiary address can be presumed as zero
but for AA-91 we need to extract beneficiary address to which collected fees is to be sent (and failed in this scenario)
## Question
1. How to get beneficiary when we have UserOp?
we need to enhance `decodeUserOp` functiob to get the beneficiary address and populate in the UserOps Object
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the decodeUserOp function and trace how the UserOps object is built. Determine how the beneficiary address can be obtained from the UserOp in the AA-90 and AA-91 cases, then verify that the populated value supports the zero-address and fee-compensation scenarios described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100