Skip to content

Conversation

@MegaRedHand
Copy link
Collaborator

@MegaRedHand MegaRedHand commented Dec 18, 2025

Motivation

Why not?

Description

This PR adds some ASCII art to the node initialization.

image showing a terminal with the new ascii art

@github-actions
Copy link

Lines of code report

Total lines added: 53
Total lines removed: 0
Total lines changed: 53

Detailed view
+----------------------------+-------+------+
| File                       | Lines | Diff |
+----------------------------+-------+------+
| ethrex/cmd/ethrex/utils.rs | 209   | +53  |
+----------------------------+-------+------+

@MegaRedHand MegaRedHand marked this pull request as ready for review December 18, 2025 20:02
@MegaRedHand MegaRedHand requested a review from a team as a code owner December 18, 2025 20:02
Copilot AI review requested due to automatic review settings December 18, 2025 20:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds ASCII art to the node's startup sequence by displaying a decorative banner during chain initialization. The banner features a stylized graphic rendered using Unicode block characters and shading symbols.

Key Changes:

  • Adds a large ASCII art banner constant (52 lines) to the display_chain_initialization function
  • Prints the banner before displaying network configuration information

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +174 to +225
const BANNER: &str = r#"
░░░░ ░░░░░
░ ░░░░░ ░░░░▒▓░░ ░
░░ ░▓▒░░░░▒░▒██▒░░░▒▒░░░ ░░░
░░░░░ ░▒█▒░▒▒░░▓██▒▒█▓▓▓███▓░░▒▒▒▒░░░░░░░
░░░▓▓▒░░░▒██▒▒█░░▒██▓░█▓░░░▒▓██▓▒▓████▓▓░▒▒░░
░░░░░▒████████▒▒█▓░░▒██▒▒█▓▒▒▓█▓▓░▒▓█▒░░░░▒▒▒▒▒▒░░
░░▒▓██▓▒▒████▓▒░░░▓█▒░▒▓█▒▒█████▒▒░░▒██▒░░ ░░▒█▒░░░
░░▒▒███▒░▒▒▓▓▒▒█▓░░░░▓█████▒▒▓████▒░░░▒▓██▒▒░░░░ ░░▓█▒▒░░ ░░░░
░░░▓██▓▒░░░░▒▒▒░░██▒░░░▓█▓▓▓▒▓░▓██░▒██▒░░▒█▓▓▓▓▓▓░ ░▓██░░░░░▒▒▓
░▒████▒░░░░▒▓▓░░░░██░▒░▒▓▒░░░▒▒▒█▓░░▒▓█▒░▓█▒░░░░░░ ░░░░▒▓██▓▓▓███▒░
░░▓██▒░▒▒▓█▓▓░░░░▓▓▒▓░▒▒░░░░▓▒▒▒▒░▒▒█▓▒▓██░░░▒░░░░░▒▓████████▓▒▒░
░░░▒███▓█▓▒░░░░░▒▒▒▒▓▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▒▓▓▓▒▒▒▒███▓▒░░
░░▒▒████▓▒░░░░▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░██▓░░░
░▒▓██▓▓██▒░░░░░▒▒░▒▒▒▓█▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░ ░░▒██▓░
░░▒██▒░░▒▓█▒░░░░▒▓▒▒▒▒▓▓█▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒▒▒░░░ ░▒█▓░
░░▒█▓▒░░░░▒██▒▒▓█▓▒░░▒▓▓████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░░▒▒░░ ░▒▓▓▒░
░░▒▓▓▒░░ ░░▓████▓░░▒░░▓██▓▒▓██▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒░░░░▒░░░░ ░▓█▒░
░░▓▒░░ ░▒███▒▒▒▒▒▓▒▒▓██▓▒▓███▒▓██▓▒▒▓▒▒▒▒▒▒▒░▒▓░▒░▒▒░ ░▒▓▒░
░░▒▒▒░░ ░░▒█▓▒░░ ░▒▒█▓███▓▓▒▒▒▒▒░▒▒▒▒░░▒▒▒▒▒░▒▒░▒▒▒▒░ ░▒▒░
░░░░ ░░▒█▓░░░ ░░▒▒▒▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ ░░░░
░▒█▒░ ░▒▒▒▒▒▒▓█▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
░▒▓░░ ░▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
░▒▒░░ ░░▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
░░░░░ ░░▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
░░░ ░▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
░▒▒▒▒▒▓▒▒▒▒▒░▒▒▓▓▒▒▓█▒░░░▒▒▒▒▒▒▒▒▒▒░
░░▒▒▒▒▒▒▒▒░░▒██▒▓█▒▒██▒██▒░░░▒▒▒▒▒▒▒░
░▒▒▒▒▒▒▒░░▒▒██ ░▒█▒▒█▓ ▒██▒░░░▒▒▒▒▒▒▒░
░░░░░░░░▓▒░▓█░░▒█▒▓█▒▒▒█▓░▓█░░░░░░░░
░▒▒▒▒▓░▒▒░░▓░▒▒▓▒▒▒▒▒▒▓▒░▓▓░▓▒▒▒▒░
▒▒▒▒▓▓░░▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓░░▓▓▒▒▒▒
▒▒▓▒▒▓▒ ░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░▒▓▓▒▓▒▒
░▒▓▓▒▓▓▓▒░█▒▒▒▒▒▒▒▒▒▒▒▒▓░▓█▓▓▒▓▓▒▒
░▒▒▒▒▒▒▓▒██▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒░
░▒▒▒▒▒▓▓██▒█▒▒▒▒▒▒▒▒▓▒▓█▓▓▒▒▒▒▒░▒▒▒▒▒▒░
░▒▒░░░▒▒░░░▒▒▒▒██▓▓█▒▒▒▒▒▒▒▒█▓▓██▒▒▒▒░░▒░░░░░░░░░
░░░▒▒▒░░░▒░ ░▒▒▒█▓██░▒▒▒▒▒▓▒▓▓▓▓▒▒▒▒▒░░░▒▓▒▒▒▒░▒░
▒░░▒▓▓▒░░▒▒░░░▒▒▒▒▓▓█▓▒▒▒▒▒█▒█▓▒░░░░░░░░▒▓▒▒▒▒▒▒░▒░
▒░░▓▒▒░░░░▒▒▒▒▒░░░░░░░░░░░░░░░░░░▒▒▓▓▓▓▒░▒▓▓▓▒▓▓░▒░
▒░▒▓▓▒░░░▒▓▓▒▓▓▒▒▓▓▒░░▓▓▓▒▒▓▓▓▓▒▒░░▒▒▒▒▓▒▒█████▓░▒░
▒░▒██▓░░░▓▓░▒▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒░░▓▓▒▓▓▓▒██▓▒██░▓░
▒░▒███▒▒▒▓▓▒▓▓▓▓▓████▓███▓█▓▓▒▓▓▓▒░▓▓░▒██▓██▓▒█▓░▓░
▒░░▓████▒▓█████▓▓██▒██▓██▓██████▒░▒██▒▓██▓██░░▒░▒░
░▒░░▓██▒██░░██▒▓██▒░▓▒██▓██▓▓████▒████▒░░░░░▒▒▒░
░▒░▒▓▒▓█░░██▒▓██▒░░▒██████▒▓███▒██▓░░░▒▒▒░
░▒▒░░░░░░▒░▓██▒░░▒██▓██████▒░░░░░▒▒░
░▒▒▒▒░░░░░░░░▒▒░░░░░░░░░░▒▒▒▒░
░░░░░░░░ ░░░░░░░░░░░
"#;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this might be in a separate text file and imported with include_str. That way we could reuse it, e.g. in the tooling CLIs, like rex and the migration tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

3 participants