generated from keep-starknet-strange/alexandria
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
__validate__
to EOA (#576)
* feat: add `__validate__` for eoa (#564) * draft commit __execute__ * feat: implement __execute__ for EOA * feat: update tests __execute__ * dev: renmae `call_data` to `calldata`, use `deploy_contract_account` util * dev: change `test_execute*` to `test___execute__*` * dev: remove unused imports * fix: fix test * dev: add script used for generating RLP tests * dev: add rlp encoding generation script * dev: replace `unwrap` with `expect` in `eoa.cairo` * dev: make script user-friendly * dev: change `to_bytes` to `try_into_bytes` * fix: sn address compute test --------- Co-authored-by: Harsh Bajpai <[email protected]> Co-authored-by: Harsh Bajpai <[email protected]> Co-authored-by: enitrat <[email protected]> Co-authored-by: Mathieu <[email protected]> * dev: formatting * dev: typo + use assert * feat: add usage commit for generating signatures * dev: use strings to make panic message better * dev: fix typo * dev: use try_into for felt252 -> Signature * feat: remove panic from try_into * dev: use into for bool -> felt252 conversion * dev: inline array creation * dev: use cheatcode to create 0 address * dev: implement trait for numberic to bool * dev: revert back from using the numeric trait --------- Co-authored-by: Harsh Bajpai <[email protected]> Co-authored-by: Harsh Bajpai <[email protected]> Co-authored-by: enitrat <[email protected]> Co-authored-by: Mathieu <[email protected]>
- Loading branch information
1 parent
a8ab1c1
commit 261b177
Showing
7 changed files
with
436 additions
and
76 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
Oops, something went wrong.