Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

to_base_16_string_no_padding

Converts 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 does not include 0’s after 0x.

Fully qualified path: openzeppelin_testing::common::to_base_16_string_no_padding

pub fn to_base_16_string_no_padding(value: felt252) -> ByteArray