Skip to content

Commit

Permalink
Fix typeface of validate_* functions (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoobie authored Mar 14, 2024
1 parent 9516cd7 commit cfa74b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cfa74b1

Please sign in to comment.