Skip to content

Commit 12fc218

Browse files
authored
rephrase_validate_limitations (#1361)
1 parent 44dcaeb commit 12fc218

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/Starknet/modules/architecture-and-concepts/pages/accounts/account-functions.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ This restriction enforces a single storage update being able to invalidate only
8080
8181
This limitation implies that the fees you need to pay to invalidate transactions in the mempool are directly proportional to the number of unique accounts whose transactions you want to invalidate.
8282
====
83-
* The maximum number of computational steps, measured in Cairo steps, for a validation function is 1,000,000.
84-
* A builtin can be applied a limited number of times. For specific limits for each builtin, see xref:tools:limits-and-triggers.adoc[].
83+
* The maximum number of Cairo steps in each of the three validation functions is 1,000,000.
8584
* The `get_execution_info` syscall behaves differently When raised from one of the `validate` functions:
8685
** `sequencer_address` is set to zero
8786
** `block_timestamp` returns the time (in UTC), rounded to the most recent hour.
@@ -104,4 +103,4 @@ A transaction has the status `REVERTED` when the `+__execute__+` function fails.
104103

105104
Thanks to account abstraction, the logic of `+__execute__+` and the different validation functions is up to the party implementing the account.
106105
To see a concrete implementation, see OpenZeppelin's link:https://github.com/OpenZeppelin/cairo-contracts/blob/v0.14.0/src/account/account.cairo#L72[account component].
107-
This implementation adheres to link:https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-6.md[SNIP6], which defines a standard for account interfaces.
106+
This implementation adheres to link:https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-6.md[SNIP6], which defines a standard for account interfaces.

0 commit comments

Comments
 (0)