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

Update decoding callData for paymaster #320

Open
himanshugarg06 opened this issue Jun 5, 2024 · 1 comment
Open

Update decoding callData for paymaster #320

himanshugarg06 opened this issue Jun 5, 2024 · 1 comment

Comments

@himanshugarg06
Copy link
Contributor

When trying to execute userOP via SessionSigner, validation is being done in two steps.
First step is validating when trying to do estimation for userOp and this is being done by passing the first calldata from above where we need to skip 4 bytes to get the destination contract.
Second step is validating the userOP for execution, and this is being done by passing the second calldata with paymaster where we need to skip 0x4a bytes to get the destination contract.
Add above in the docs https://docs.biconomy.io/Modules/abiSessionValidationModule#rules

@himanshugarg06
Copy link
Contributor Author

@joepegler could you help understand above

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

No branches or pull requests

1 participant