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
// There are 2 ways that this contract can validate user operations: 1) the user pre-approves a hash with an on-chain call and grants this contract ability to operate on the user's behalf, or 2) they issue a signature which can be used to call EVC.permit()
156
154
// In case the user is using a hash (1), then there would be no signature supplied to this call and we have to resolve the hash instead
157
-
// If its flow (2), it happens through the call to EVC.permit() elsewhere, and the EVC becomes responsible for the security.
155
+
// If its flow (2), it happens through the call to EVC.permit() elsewhere: if the parameters don't match with the user intent, that call is assumed to revert.
156
+
// In this case, we need to check that `permit` has been called by the actual wrapper implementation.
0 commit comments