Skip to main content

Module macros

Module macros 

Source

MacrosΒ§

assume πŸ”’
berlin_load_account πŸ”’
Mirrors revm’s berlin_load_account! macro. Loads account info with the cold-load-skip optimization: if remaining gas is less than the cold cost, skip the DB load and return OOG immediately. Charges both warm_storage_read_cost (which revm’s instruction table charges as static gas) and cold_account_additional_cost if cold.
debug_unreachable πŸ”’
ensure_memory πŸ”’
ensure_non_staticcall πŸ”’
gas πŸ”’
gas_opt πŸ”’
pop πŸ”’
read_words πŸ”’
Same as read_words_rev, but returns the arguments in the order they were passed.
rev πŸ”’
tri πŸ”’
try_host πŸ”’
try_into_usize πŸ”’
try_ir πŸ”’