From cfa74b13f4706905cb34d482388f21f103dd9c6a Mon Sep 17 00:00:00 2001 From: Steve Goodman <39279277+stoobie@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:26:19 +0200 Subject: [PATCH] Fix typeface of `validate_*` functions (#1179) --- .../pages/Smart_Contracts/system-calls-cairo1.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Starknet/modules/architecture_and_concepts/pages/Smart_Contracts/system-calls-cairo1.adoc b/components/Starknet/modules/architecture_and_concepts/pages/Smart_Contracts/system-calls-cairo1.adoc index 403c62184e..0244425f26 100644 --- a/components/Starknet/modules/architecture_and_concepts/pages/Smart_Contracts/system-calls-cairo1.adoc +++ b/components/Starknet/modules/architecture_and_concepts/pages/Smart_Contracts/system-calls-cairo1.adoc @@ -65,7 +65,7 @@ Gets information about the currently executing block and the transactions in the This single system call contains all information for a block, transaction, and execution context. -When an account's `+__validate__+`, +`__validate_deploy__`+, or +`__validate_declare__`+ function calls `get_execution_info`, the return values for `block_timestamp` and `block_number` are modified as follows: +When an account's `+__validate__+`, `+__validate_deploy__+`, or `+__validate_declare__+` function calls `get_execution_info`, the return values for `block_timestamp` and `block_number` are modified as follows: * `block_timestamp` returns the hour, rounded down to the nearest hour. * `block_number` returns the block number, rounded down to the nearest multiple of 100.