You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm trying to understand how gas estimations work. In particular, looking at paymasterVerificationGasLimit.
What I do understand: EntryPointSimulations.sol is used to simulate operations and thereby measure gas.
What I don't understand: The return type struct ExecutionResult of simulateHandleOP does not include paymasterVerificationGasLimit, however, the EntryPointV07SimulationsAbi does have this field in the return value of this function (see here).
How is that possible? And how is that value calculated on the contract side?
The text was updated successfully, but these errors were encountered:
Hey, I believe those contracts were out of date at the time, the contracts dir has since been deleted from Alto and moved to a seperate repo (entrypoint-estimations). The ExecutionResult struct does contain paymasterVerificationGasLimit, and this field is populated during simulation by calling the EntryPoint's _validatePrepayment method.
Hey, I'm trying to understand how gas estimations work. In particular, looking at
paymasterVerificationGasLimit
.What I do understand:
EntryPointSimulations.sol
is used to simulate operations and thereby measure gas.What I don't understand: The return type
struct ExecutionResult
ofsimulateHandleOP
does not includepaymasterVerificationGasLimit
, however, theEntryPointV07SimulationsAbi
does have this field in the return value of this function (see here).How is that possible? And how is that value calculated on the contract side?
The text was updated successfully, but these errors were encountered: