bcnmy / docs

Biconomy official documentation
https://docs.biconomy.io/
MIT License
14 stars 26 forks source link

Update decoding callData for paymaster #320

Open himanshugarg06 opened 1 month ago

himanshugarg06 commented 1 month ago

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 commented 1 month ago

@joepegler could you help understand above