-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/guardian-unmock-3: Paymaster (#870)
* changed contracts to enforce guardian signature * allowed redundant guardian signature * added guardian checking in sessions * contract: added `is_session_registered` method * changed guardian storage from Option<felt> to felt * Make guardian configurable by session * `TransactionWaiter` fixed bug with not erroring when transaction reverted * added guardian tests (failing) * added correct session hashing to correctly sign in proxy * adjusted tests to the new session guardian logic (1 fails) * revert controller changes * proxy: added guardian signature when estimating fee * guardian tests pass * remove `Debug` derive on `Controller` * revert outside_execution proxy change * session_hash name * Support guardian as part of session * proxy: added guardian signature when `execute_from_outside` * changed outside execution tests to use guardian (outside_execution + session fails) * added guardian authorization --------- Co-authored-by: Tarrence van As <[email protected]>
- Loading branch information
Showing
11 changed files
with
210 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.