rhinestonewtf / modulekit

Development Kit for building Smart Account Modules
https://docs.rhinestone.wtf/modulekit/
53 stars 29 forks source link

[RHI-618] add SessionKeyManager that checks userOp.calldata for functionsig #46

Closed zeroknots closed 8 months ago

zeroknots commented 10 months ago

In order to avoid that a sessionkey authorizes a batched transaction, we should build a SessionKeyValidatorBase that ensures that userOp.calldata[0:4] is in fact the expected functionSig of the smart accounts execute function

RHI-618