archway-network / archway

Archway Network
https://archway.io
Other
74 stars 99 forks source link

style: Adding Archway logo and version number to upgrade logs #446

Closed spoo-bar closed 1 year ago

spoo-bar commented 1 year ago

When Archwayd undergoes an upgrade, display the ASCII art of the archway logo and the version name.

This is what the upgrade logs would look like

2:49PM INF ABCI Replay Blocks appHeight=29 module=consensus stateHeight=29 storeHeight=30
2:49PM INF Replay last block using real app module=consensus
2:49PM INF applying upgrade "latest" at height: 30
2:49PM INF

            .-=+***#***+=-.
         :+*###############*+-
       =*#####################*=
     -*#########################*-
    +##########*+=---=+*##########+
   +#########*:         :*#########+
  :#########+             +#########:
  +#########               *########+
  *########*   .-=+++=-.   *########*
  *########* .+#########+: *########*
  =########*:#############-*########=
  .*#######**#############**#######*.
   :*##############################:
     =*#########################*=
        -*###################*-
          .-+*###########*+-.

             ###     ###     ###
     # #     #       # #     # #
     # #     ###     # #     # #
      #        #     # #     # #
             ###  #  ###  #  ###

2:49PM INF minted coins from module account amount=61792101856580155079616780067stake from=mint module=x/bank
2:49PM INF Minimum consensus fee update skipped: block gas limit is not set module=x/rewards
2:49PM INF executed block height=30 module=consensus num_invalid_txs=0 num_valid_txs=0
codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (23404f9) 69.52% compared to head (6427669) 69.52%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #446 +/- ## ======================================= Coverage 69.52% 69.52% ======================================= Files 68 68 Lines 4023 4023 ======================================= Hits 2797 2797 Misses 1128 1128 Partials 98 98 ``` | [Files Changed](https://app.codecov.io/gh/archway-network/archway/pull/446?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=archway-network) | Coverage Δ | | |---|---|---| | [app/app\_upgrades.go](https://app.codecov.io/gh/archway-network/archway/pull/446?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=archway-network#diff-YXBwL2FwcF91cGdyYWRlcy5nbw==) | `61.90% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.