-
Notifications
You must be signed in to change notification settings - Fork 141
feat(l1): display ascii art during startup #5682
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
base: main
Are you sure you want to change the base?
Conversation
Lines of code reportTotal lines added: Detailed view |
There was a problem hiding this 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_initializationfunction - Prints the banner before displaying network configuration information
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| const BANNER: &str = r#" | ||
| ░ | ||
| ░░░░ ░░░░░ | ||
| ░ ░░░░░ ░░░░▒▓░░ ░ | ||
| ░░ ░▓▒░░░░▒░▒██▒░░░▒▒░░░ ░░░ | ||
| ░░░░░ ░▒█▒░▒▒░░▓██▒▒█▓▓▓███▓░░▒▒▒▒░░░░░░░ | ||
| ░░░▓▓▒░░░▒██▒▒█░░▒██▓░█▓░░░▒▓██▓▒▓████▓▓░▒▒░░ | ||
| ░░░░░▒████████▒▒█▓░░▒██▒▒█▓▒▒▓█▓▓░▒▓█▒░░░░▒▒▒▒▒▒░░ | ||
| ░░▒▓██▓▒▒████▓▒░░░▓█▒░▒▓█▒▒█████▒▒░░▒██▒░░ ░░▒█▒░░░ | ||
| ░░▒▒███▒░▒▒▓▓▒▒█▓░░░░▓█████▒▒▓████▒░░░▒▓██▒▒░░░░ ░░▓█▒▒░░ ░░░░ | ||
| ░░░▓██▓▒░░░░▒▒▒░░██▒░░░▓█▓▓▓▒▓░▓██░▒██▒░░▒█▓▓▓▓▓▓░ ░▓██░░░░░▒▒▓ | ||
| ░▒████▒░░░░▒▓▓░░░░██░▒░▒▓▒░░░▒▒▒█▓░░▒▓█▒░▓█▒░░░░░░ ░░░░▒▓██▓▓▓███▒░ | ||
| ░░▓██▒░▒▒▓█▓▓░░░░▓▓▒▓░▒▒░░░░▓▒▒▒▒░▒▒█▓▒▓██░░░▒░░░░░▒▓████████▓▒▒░ | ||
| ░░░▒███▓█▓▒░░░░░▒▒▒▒▓▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▒▓▓▓▒▒▒▒███▓▒░░ | ||
| ░░▒▒████▓▒░░░░▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░██▓░░░ | ||
| ░▒▓██▓▓██▒░░░░░▒▒░▒▒▒▓█▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░ ░░▒██▓░ | ||
| ░░▒██▒░░▒▓█▒░░░░▒▓▒▒▒▒▓▓█▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒▒▒░░░ ░▒█▓░ | ||
| ░░▒█▓▒░░░░▒██▒▒▓█▓▒░░▒▓▓████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░░▒▒░░ ░▒▓▓▒░ | ||
| ░░▒▓▓▒░░ ░░▓████▓░░▒░░▓██▓▒▓██▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒░░░░▒░░░░ ░▓█▒░ | ||
| ░░▓▒░░ ░▒███▒▒▒▒▒▓▒▒▓██▓▒▓███▒▓██▓▒▒▓▒▒▒▒▒▒▒░▒▓░▒░▒▒░ ░▒▓▒░ | ||
| ░░▒▒▒░░ ░░▒█▓▒░░ ░▒▒█▓███▓▓▒▒▒▒▒░▒▒▒▒░░▒▒▒▒▒░▒▒░▒▒▒▒░ ░▒▒░ | ||
| ░░░░ ░░▒█▓░░░ ░░▒▒▒▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ ░░░░ | ||
| ░▒█▒░ ░▒▒▒▒▒▒▓█▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ | ||
| ░▒▓░░ ░▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ | ||
| ░▒▒░░ ░░▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ | ||
| ░░░░░ ░░▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ | ||
| ░░░ ░▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ | ||
| ░▒▒▒▒▒▓▒▒▒▒▒░▒▒▓▓▒▒▓█▒░░░▒▒▒▒▒▒▒▒▒▒░ | ||
| ░░▒▒▒▒▒▒▒▒░░▒██▒▓█▒▒██▒██▒░░░▒▒▒▒▒▒▒░ | ||
| ░▒▒▒▒▒▒▒░░▒▒██ ░▒█▒▒█▓ ▒██▒░░░▒▒▒▒▒▒▒░ | ||
| ░░░░░░░░▓▒░▓█░░▒█▒▓█▒▒▒█▓░▓█░░░░░░░░ | ||
| ░▒▒▒▒▓░▒▒░░▓░▒▒▓▒▒▒▒▒▒▓▒░▓▓░▓▒▒▒▒░ | ||
| ▒▒▒▒▓▓░░▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓░░▓▓▒▒▒▒ | ||
| ▒▒▓▒▒▓▒ ░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░▒▓▓▒▓▒▒ | ||
| ░▒▓▓▒▓▓▓▒░█▒▒▒▒▒▒▒▒▒▒▒▒▓░▓█▓▓▒▓▓▒▒ | ||
| ░▒▒▒▒▒▒▓▒██▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒░ | ||
| ░▒▒▒▒▒▓▓██▒█▒▒▒▒▒▒▒▒▓▒▓█▓▓▒▒▒▒▒░▒▒▒▒▒▒░ | ||
| ░▒▒░░░▒▒░░░▒▒▒▒██▓▓█▒▒▒▒▒▒▒▒█▓▓██▒▒▒▒░░▒░░░░░░░░░ | ||
| ░░░▒▒▒░░░▒░ ░▒▒▒█▓██░▒▒▒▒▒▓▒▓▓▓▓▒▒▒▒▒░░░▒▓▒▒▒▒░▒░ | ||
| ▒░░▒▓▓▒░░▒▒░░░▒▒▒▒▓▓█▓▒▒▒▒▒█▒█▓▒░░░░░░░░▒▓▒▒▒▒▒▒░▒░ | ||
| ▒░░▓▒▒░░░░▒▒▒▒▒░░░░░░░░░░░░░░░░░░▒▒▓▓▓▓▒░▒▓▓▓▒▓▓░▒░ | ||
| ▒░▒▓▓▒░░░▒▓▓▒▓▓▒▒▓▓▒░░▓▓▓▒▒▓▓▓▓▒▒░░▒▒▒▒▓▒▒█████▓░▒░ | ||
| ▒░▒██▓░░░▓▓░▒▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒░░▓▓▒▓▓▓▒██▓▒██░▓░ | ||
| ▒░▒███▒▒▒▓▓▒▓▓▓▓▓████▓███▓█▓▓▒▓▓▓▒░▓▓░▒██▓██▓▒█▓░▓░ | ||
| ▒░░▓████▒▓█████▓▓██▒██▓██▓██████▒░▒██▒▓██▓██░░▒░▒░ | ||
| ░▒░░▓██▒██░░██▒▓██▒░▓▒██▓██▓▓████▒████▒░░░░░▒▒▒░ | ||
| ░▒░▒▓▒▓█░░██▒▓██▒░░▒██████▒▓███▒██▓░░░▒▒▒░ | ||
| ░▒▒░░░░░░▒░▓██▒░░▒██▓██████▒░░░░░▒▒░ | ||
| ░▒▒▒▒░░░░░░░░▒▒░░░░░░░░░░▒▒▒▒░ | ||
| ░░░░░░░░ ░░░░░░░░░░░ | ||
| "#; |
There was a problem hiding this comment.
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.
Motivation
Why not?
Description
This PR adds some ASCII art to the node initialization.