Skip to content

Commit

Permalink
Feat/guardian-unmock-1: Contracts (#867)
Browse files Browse the repository at this point in the history
* 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

* Feat/guardian-unmock-2: Proxy and `account_sdk` tests (#872)

* `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

---------

Co-authored-by: Tarrence van As <[email protected]>

* Resolve conflicts

---------

Co-authored-by: Tarrence van As <[email protected]>
  • Loading branch information
piniom and tarrencev authored Oct 17, 2024
1 parent e01f22b commit 8d6a32a
Show file tree
Hide file tree
Showing 14 changed files with 19,809 additions and 18,467 deletions.
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ alexandria_merkle_tree = { git = "https://github.com/piniom/quaireaux.git", rev
alexandria_data_structures = { git = "https://github.com/piniom/quaireaux.git", rev = "b51ccc3" }
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry.git", tag = "v0.27.0" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", rev = "a13bae3" }
argent = { git = "https://github.com/cartridge-gg/argent-contracts-starknet.git", rev = "1432f85" }
argent = { git = "https://github.com/cartridge-gg/argent-contracts-starknet.git", rev = "3f3173e" }

Large diffs are not rendered by default.

Loading

0 comments on commit 8d6a32a

Please sign in to comment.