Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common: improve printing of Hash and Address #21834

Merged
merged 5 commits into from
Dec 8, 2020

Commits on Nov 12, 2020

  1. override default formatter for Address so it could print out nicer when

    using Println or Print
    
    One can still see the original format using "%d"
    lobatt committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    84eeaaf View commit details
    Browse the repository at this point in the history
  2. Fix "%s"

    lobatt authored and lobatt committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    d8e29bb View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2020

  1. common: improve formatters of Hash and Address

    This change makes it more clear with format verbs are supported for
    hashes and addresses. It also fixes some cases that didn't work as
    expected. Notably, the 0x prefix is omitted for %x.
    fjl committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    1b517c1 View commit details
    Browse the repository at this point in the history
  2. common: try to fix lint issue

    fjl committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    63a184a View commit details
    Browse the repository at this point in the history
  3. common: fix lint issue

    fjl committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    ab69c8e View commit details
    Browse the repository at this point in the history