Is the tokenPaymaster over prefund?
Closed this issue · 1 comments
doublespending commented
In my mind, requiredPreFund
from EntryPoint includes fund for postOp.
account-abstraction/contracts/core/EntryPoint.sol
Lines 511 to 515 in 0766b38
account-abstraction/contracts/core/EntryPoint.sol
Lines 378 to 390 in 0766b38
Why should we add additional (refundPostopCost * maxFeePerGas)
above requiredPreFund
here?
drortirosh commented
the calculation was updated with v0.7 with the new paymaserVerificationGasLimit