You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
Added beneficiary property to the userOp Struct
as all handleOps function call would definitely have beneficiary and 0th param in params passed to decoder is an userOp and it is expected to have beneficiary
@tomarsachin2271 added AA90 & AA91 Decoders.
for AA91 which happens when the entrypoint fails to compensate the beneficiary with collected fees
but error message doesn't include the amount or collected fees
added an issue in eth-infinitism repo, to propose if the error message can be encoded with amount or collected fees` eth-infinitism/account-abstraction#409
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
we need to enhance
decodeUserOp
functiob to get the beneficiary address and populate in the UserOps ObjectThe text was updated successfully, but these errors were encountered: