Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

common

Fully qualified path: openzeppelin_testing::common

Free functions

panic_data_to_byte_arrayConverts panic data into a string (ByteArray). panic_data is expected to be a valid serialized byte array with an extra felt252 at the beginning, which is the BYTE_ARRAY_MAGIC.
to_base_16_stringConverts a felt252 to a base16 string padded to 66 characters including the 0x prefix.
to_base_16_string_no_paddingConverts a felt252 to a base16 (hexadecimal) string without padding, but including the 0x prefix. We need this because Starknet Foundry has a way of representing addresses and selectors that…

Traits