forked from OpenZeppelin/cairo-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support higher tx versions in Account (OpenZeppelin#858)
* support higher tx versions in account * update changelog * add utils * add utils * change version to u256 * update version import and cast to felt * update spdx * update scarb and cairo to 2.4.0 * bump to v2.4.1 * add helper fns for testing versions * add scarb bump to changelog * move account consts back to accountcomponent * change const to MIN_TRANSACTION_VERSION * add version consts for tests * change version helper fns to consts * cast tx version to u64 in __execute__ * add query version comment * add future query version test * cast version to u256 * add query tx version check * add requirement in __execute__ comment * fix comment * add comment * fix comment * Update src/account/account.cairo --------- Co-authored-by: Martín Triay <martriay@gmail.com>
- Loading branch information
1 parent
4f90c23
commit 8372bc9
Showing
7 changed files
with
67 additions
and
19 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
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