Skip to content

Commit

Permalink
Release notes: timestamp should be block_timestamp. (starknet-io#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stoobie authored and xiaolou86 committed Apr 7, 2024
1 parent fef3499 commit ff40d30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ include::ROOT:partial$snippet_important_goerli2_removed.adoc[]

* *Cheaper data availability:* Starknet uses link:https://eips.ethereum.org/EIPS/eip-4844[EIP-4844].
* Time-related syscalls when called from an account contract's `+__validate__+` function:
** `timestamp` returns the hour, rounded down.
** `block_timestamp` returns the hour, rounded down.
** `block_number` returns the block number, rounded down to the nearest multiple of 100.
* *Optimization:* Load into memory only the functions in a contract that are actually used when generating the proof.

Expand Down

0 comments on commit ff40d30

Please sign in to comment.