Fulu ASCII art (#8151)

Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>
This commit is contained in:
Eitan Seri-Levi
2025-10-07 07:32:35 -07:00
committed by GitHub
parent ff8b514b3f
commit 4eb89604f8
2 changed files with 41 additions and 0 deletions

View File

@@ -840,6 +840,7 @@ impl<T: BeaconChainTypes> NetworkService<T> {
new_fork = ?new_fork_name,
"Transitioned to new fork"
);
new_fork_name.fork_ascii();
}
fork_context.update_current_fork(*new_fork_name, new_fork_digest, current_epoch);

View File

@@ -201,6 +201,46 @@ impl ForkName {
pub fn gloas_enabled(self) -> bool {
self >= ForkName::Gloas
}
pub fn fork_ascii(self) {
if self == ForkName::Fulu {
println!(
r#"
╔═══════════════════════════════════════╗
║ ║
║ TO FULU, MOAR BLOBS TO ETHEREUM ║
║ ║
║ III DECEMBER MMXXV ║
║ ║
╚═══════════════════════════════════════╝
=============================================================================
|||| ||||
|---------------------------------------------------------------------------|
|___-----___-----___-----___-----___-----___-----___-----___-----___-----___|
/ _ \===/ _ \ / _ \===/ _ \ / _ \===/ _ \ / _ \===/ _ \
( (.\ oOo /.) ) ( (.\ oOo /.) ) ( (.\ oOo /.) ) ( (.\ oOo /.) )
\__/=====\__/ \__/=====\__/ \__/=====\__/ \__/=====\__/
||||||| ||||||| ||||||| |||||||
||||||| ||||||| \\/), ||||||| |||||||
||||||| ||||||| ,'.' /, ||||||| |||||||
||||||| ||||||| (_)- / /, ||||||| |||||||
||||||| ||||||| /\_/ |__..--, * ||||||| |||||||
||||||| ||||||| (\___/\ \ \ / ).' ||||||| |||||||
||||||| ||||||| \____/ / (_ // ||||||| |||||||
||||||| ||||||| \\_ ,'--'\_( ||||||| |||||||
(oOoOo) (oOoOo) )_)_/ )_/ )_) (oOoOo) (oOoOo)
J%%%%%L J%%%%%L (_(_.'(_.'(_.' J%%%%%L J%%%%%L
ZZZZZZZZZ ZZZZZZZZZ ZZZZZZZZZ ZZZZZZZZZ
===========================================================================
|_________________________________________________________________________|
|___________________________________________________________________________|
|_____________________________________________________________________________|
|_______________________________________________________________________________|
"#
);
}
}
}
/// Map a fork name into a fork-versioned superstruct type like `BeaconBlock`.