Execution information
.
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.pub extern fn get_execution_info_syscall() -> Result, Array> implicits(GasBuiltin, System) nopanic;