mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Fulu ASCII art (#8151)
Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>
This commit is contained in:
@@ -840,6 +840,7 @@ impl<T: BeaconChainTypes> NetworkService<T> {
|
|||||||
new_fork = ?new_fork_name,
|
new_fork = ?new_fork_name,
|
||||||
"Transitioned to new fork"
|
"Transitioned to new fork"
|
||||||
);
|
);
|
||||||
|
new_fork_name.fork_ascii();
|
||||||
}
|
}
|
||||||
|
|
||||||
fork_context.update_current_fork(*new_fork_name, new_fork_digest, current_epoch);
|
fork_context.update_current_fork(*new_fork_name, new_fork_digest, current_epoch);
|
||||||
|
|||||||
@@ -201,6 +201,46 @@ impl ForkName {
|
|||||||
pub fn gloas_enabled(self) -> bool {
|
pub fn gloas_enabled(self) -> bool {
|
||||||
self >= ForkName::Gloas
|
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`.
|
/// Map a fork name into a fork-versioned superstruct type like `BeaconBlock`.
|
||||||
|
|||||||
Reference in New Issue
Block a user