From a45be18623155e745961a563058920cfb4ca9bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Thu, 18 Dec 2025 15:59:57 -0300 Subject: [PATCH] feat(l1): display ascii art during startup --- cmd/ethrex/utils.rs | 53 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/cmd/ethrex/utils.rs b/cmd/ethrex/utils.rs index 50cbfaf35ac..b61c05cf1c7 100644 --- a/cmd/ethrex/utils.rs +++ b/cmd/ethrex/utils.rs @@ -171,6 +171,59 @@ pub fn get_minimal_client_version() -> String { } pub fn display_chain_initialization(genesis: &Genesis) { + const BANNER: &str = r#" + + ░ + ░░░░ ░░░░░ + ░ ░░░░░ ░░░░▒▓░░ ░ + ░░ ░▓▒░░░░▒░▒██▒░░░▒▒░░░ ░░░ + ░░░░░ ░▒█▒░▒▒░░▓██▒▒█▓▓▓███▓░░▒▒▒▒░░░░░░░ + ░░░▓▓▒░░░▒██▒▒█░░▒██▓░█▓░░░▒▓██▓▒▓████▓▓░▒▒░░ + ░░░░░▒████████▒▒█▓░░▒██▒▒█▓▒▒▓█▓▓░▒▓█▒░░░░▒▒▒▒▒▒░░ + ░░▒▓██▓▒▒████▓▒░░░▓█▒░▒▓█▒▒█████▒▒░░▒██▒░░ ░░▒█▒░░░ + ░░▒▒███▒░▒▒▓▓▒▒█▓░░░░▓█████▒▒▓████▒░░░▒▓██▒▒░░░░ ░░▓█▒▒░░ ░░░░ + ░░░▓██▓▒░░░░▒▒▒░░██▒░░░▓█▓▓▓▒▓░▓██░▒██▒░░▒█▓▓▓▓▓▓░ ░▓██░░░░░▒▒▓ + ░▒████▒░░░░▒▓▓░░░░██░▒░▒▓▒░░░▒▒▒█▓░░▒▓█▒░▓█▒░░░░░░ ░░░░▒▓██▓▓▓███▒░ + ░░▓██▒░▒▒▓█▓▓░░░░▓▓▒▓░▒▒░░░░▓▒▒▒▒░▒▒█▓▒▓██░░░▒░░░░░▒▓████████▓▒▒░ + ░░░▒███▓█▓▒░░░░░▒▒▒▒▓▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒▒▒▒▒▒▒▓▓▓▒▒▒▒███▓▒░░ + ░░▒▒████▓▒░░░░▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░██▓░░░ + ░▒▓██▓▓██▒░░░░░▒▒░▒▒▒▓█▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░ ░░▒██▓░ + ░░▒██▒░░▒▓█▒░░░░▒▓▒▒▒▒▓▓█▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒▒▒░░░ ░▒█▓░ + ░░▒█▓▒░░░░▒██▒▒▓█▓▒░░▒▓▓████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░░▒▒░░ ░▒▓▓▒░ + ░░▒▓▓▒░░ ░░▓████▓░░▒░░▓██▓▒▓██▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒░░░░▒░░░░ ░▓█▒░ + ░░▓▒░░ ░▒███▒▒▒▒▒▓▒▒▓██▓▒▓███▒▓██▓▒▒▓▒▒▒▒▒▒▒░▒▓░▒░▒▒░ ░▒▓▒░ + ░░▒▒▒░░ ░░▒█▓▒░░ ░▒▒█▓███▓▓▒▒▒▒▒░▒▒▒▒░░▒▒▒▒▒░▒▒░▒▒▒▒░ ░▒▒░ + ░░░░ ░░▒█▓░░░ ░░▒▒▒▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ ░░░░ + ░▒█▒░ ░▒▒▒▒▒▒▓█▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ + ░▒▓░░ ░▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ + ░▒▒░░ ░░▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ + ░░░░░ ░░▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ + ░░░ ░▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ + ░▒▒▒▒▒▓▒▒▒▒▒░▒▒▓▓▒▒▓█▒░░░▒▒▒▒▒▒▒▒▒▒░ + ░░▒▒▒▒▒▒▒▒░░▒██▒▓█▒▒██▒██▒░░░▒▒▒▒▒▒▒░ + ░▒▒▒▒▒▒▒░░▒▒██ ░▒█▒▒█▓ ▒██▒░░░▒▒▒▒▒▒▒░ + ░░░░░░░░▓▒░▓█░░▒█▒▓█▒▒▒█▓░▓█░░░░░░░░ + ░▒▒▒▒▓░▒▒░░▓░▒▒▓▒▒▒▒▒▒▓▒░▓▓░▓▒▒▒▒░ + ▒▒▒▒▓▓░░▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓░░▓▓▒▒▒▒ + ▒▒▓▒▒▓▒ ░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░▒▓▓▒▓▒▒ + ░▒▓▓▒▓▓▓▒░█▒▒▒▒▒▒▒▒▒▒▒▒▓░▓█▓▓▒▓▓▒▒ + ░▒▒▒▒▒▒▓▒██▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒░ + ░▒▒▒▒▒▓▓██▒█▒▒▒▒▒▒▒▒▓▒▓█▓▓▒▒▒▒▒░▒▒▒▒▒▒░ + ░▒▒░░░▒▒░░░▒▒▒▒██▓▓█▒▒▒▒▒▒▒▒█▓▓██▒▒▒▒░░▒░░░░░░░░░ + ░░░▒▒▒░░░▒░ ░▒▒▒█▓██░▒▒▒▒▒▓▒▓▓▓▓▒▒▒▒▒░░░▒▓▒▒▒▒░▒░ + ▒░░▒▓▓▒░░▒▒░░░▒▒▒▒▓▓█▓▒▒▒▒▒█▒█▓▒░░░░░░░░▒▓▒▒▒▒▒▒░▒░ + ▒░░▓▒▒░░░░▒▒▒▒▒░░░░░░░░░░░░░░░░░░▒▒▓▓▓▓▒░▒▓▓▓▒▓▓░▒░ + ▒░▒▓▓▒░░░▒▓▓▒▓▓▒▒▓▓▒░░▓▓▓▒▒▓▓▓▓▒▒░░▒▒▒▒▓▒▒█████▓░▒░ + ▒░▒██▓░░░▓▓░▒▓▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒░░▓▓▒▓▓▓▒██▓▒██░▓░ + ▒░▒███▒▒▒▓▓▒▓▓▓▓▓████▓███▓█▓▓▒▓▓▓▒░▓▓░▒██▓██▓▒█▓░▓░ + ▒░░▓████▒▓█████▓▓██▒██▓██▓██████▒░▒██▒▓██▓██░░▒░▒░ + ░▒░░▓██▒██░░██▒▓██▒░▓▒██▓██▓▓████▒████▒░░░░░▒▒▒░ + ░▒░▒▓▒▓█░░██▒▓██▒░░▒██████▒▓███▒██▓░░░▒▒▒░ + ░▒▒░░░░░░▒░▓██▒░░▒██▓██████▒░░░░░▒▒░ + ░▒▒▒▒░░░░░░░░▒▒░░░░░░░░░░▒▒▒▒░ + ░░░░░░░░ ░░░░░░░░░░░ +"#; + println!("{BANNER}"); let border = "═".repeat(70); info!("{border}");