Skip to content

Commit 4eb8960

Browse files
authored
Fulu ASCII art (#8151)
Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>
1 parent ff8b514 commit 4eb8960

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

beacon_node/network/src/service.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,7 @@ impl<T: BeaconChainTypes> NetworkService<T> {
840840
new_fork = ?new_fork_name,
841841
"Transitioned to new fork"
842842
);
843+
new_fork_name.fork_ascii();
843844
}
844845

845846
fork_context.update_current_fork(*new_fork_name, new_fork_digest, current_epoch);

consensus/types/src/fork_name.rs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,46 @@ impl ForkName {
201201
pub fn gloas_enabled(self) -> bool {
202202
self >= ForkName::Gloas
203203
}
204+
205+
pub fn fork_ascii(self) {
206+
if self == ForkName::Fulu {
207+
println!(
208+
r#"
209+
╔═══════════════════════════════════════╗
210+
║ ║
211+
║ TO FULU, MOAR BLOBS TO ETHEREUM ║
212+
║ ║
213+
║ III DECEMBER MMXXV ║
214+
║ ║
215+
╚═══════════════════════════════════════╝
216+
217+
=============================================================================
218+
|||| ||||
219+
|---------------------------------------------------------------------------|
220+
|___-----___-----___-----___-----___-----___-----___-----___-----___-----___|
221+
/ _ \===/ _ \ / _ \===/ _ \ / _ \===/ _ \ / _ \===/ _ \
222+
( (.\ oOo /.) ) ( (.\ oOo /.) ) ( (.\ oOo /.) ) ( (.\ oOo /.) )
223+
\__/=====\__/ \__/=====\__/ \__/=====\__/ \__/=====\__/
224+
||||||| ||||||| ||||||| |||||||
225+
||||||| ||||||| \\/), ||||||| |||||||
226+
||||||| ||||||| ,'.' /, ||||||| |||||||
227+
||||||| ||||||| (_)- / /, ||||||| |||||||
228+
||||||| ||||||| /\_/ |__..--, * ||||||| |||||||
229+
||||||| ||||||| (\___/\ \ \ / ).' ||||||| |||||||
230+
||||||| ||||||| \____/ / (_ // ||||||| |||||||
231+
||||||| ||||||| \\_ ,'--'\_( ||||||| |||||||
232+
(oOoOo) (oOoOo) )_)_/ )_/ )_) (oOoOo) (oOoOo)
233+
J%%%%%L J%%%%%L (_(_.'(_.'(_.' J%%%%%L J%%%%%L
234+
ZZZZZZZZZ ZZZZZZZZZ ZZZZZZZZZ ZZZZZZZZZ
235+
===========================================================================
236+
|_________________________________________________________________________|
237+
|___________________________________________________________________________|
238+
|_____________________________________________________________________________|
239+
|_______________________________________________________________________________|
240+
"#
241+
);
242+
}
243+
}
204244
}
205245

206246
/// Map a fork name into a fork-versioned superstruct type like `BeaconBlock`.

0 commit comments

Comments
 (0)