cairo icon indicating copy to clipboard operation
cairo copied to clipboard

feat: print hexadecimal values

Open enitrat opened this issue 1 year ago • 1 comments

Feature Request

Describe the Feature Request Most of the times, the values we're working with are hashes, classes, addresses, etc. Having them displayed in decimal is not very useful as we often debug / compare hex values. I have a python script on the side that captures the output and converts all values to hexadecimal.

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR? (Help can be provided if you need assistance submitting a PR)

  • [ ] Yes
  • [ ] No

enitrat avatar Aug 22 '24 14:08 enitrat

I second this strongly

AbdelStark avatar Aug 22 '24 14:08 AbdelStark

As stated in the attached PR - format!("{:x}", value) is now supported, which should mostly be enough.

orizi avatar Dec 17 '24 15:12 orizi