You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usecore::to_byte_array::FormatAsByteArray;
/// 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 `Ox`.pubfnto_base_16_string_no_padding(value:felt252) ->ByteArray {
letstring=value.format_as_byte_array(16);
format!("0x{}", str<caret>ing)
}
currently it shows:
while it should not show anything (easier solution) or show proper hover for a variable
another example:
The text was updated successfully, but these errors were encountered:
Empty project, just the following Cairo snippet:
currently it shows:
while it should not show anything (easier solution) or show proper hover for a variable
another example:
The text was updated successfully, but these errors were encountered: