Closed
Description
There are lines in SemaphoreVerifier.sol that make gas()
calls. GAS opcode is restricted in validateUserOp (along with some other OPCODES). GAS is only allowed if immediately followed by CALL (and similar) opcodes. Semaphore does staticcall(sub(gas(), ...)
and there is a SUB
in between.
So we need some other way to take the gas cost in consideration.
- related: Project Idea: Semaphore + Account Abstraction #345
- refer also to this blog post (other challenges section):
https://saleel.xyz/blog/zk-account-abstraction/
Metadata
Metadata
Assignees
Type
Projects
Status
✔️ Done