add ANSI art for Deneb 🐟 (#4803)
Trigger ANSI art on upgrade to Deneb Art created by http://beatscribe.com (beatscribe#1008 on Discord)
This commit is contained in:
parent
b7d08d0a38
commit
566c178e59
|
@ -2086,7 +2086,8 @@ proc updateHead*(
|
|||
if dag.vanityLogs.onUpgradeToCapella != nil:
|
||||
dag.vanityLogs.onUpgradeToCapella()
|
||||
of ConsensusFork.Deneb:
|
||||
discard
|
||||
if dag.vanityLogs.onUpgradeToDeneb != nil:
|
||||
dag.vanityLogs.onUpgradeToDeneb()
|
||||
|
||||
if dag.vanityLogs.onKnownBlsToExecutionChange != nil and
|
||||
checkBlsToExecutionChanges(
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
[0;37m
|
||||
[30m[21C[36m....::""""""""""""""""""[34m""".[10C.
|
||||
[5C. .[10C[36m.* [34m#### ;". ~~. :::::[5C:
|
||||
[17C[36m.4[34m#####:^.' `.. :::::: `. [37m. [34m`[11Co
|
||||
[15C[37m.4[34m#####::' :[9C::::..' [37m.. . [34m.
|
||||
[14C[37m.d[34m####:: . `. . :[7C[37m:: .
|
||||
[34m.[37m [34mo[37m[5C[36m.[34m####::...:[8C. `. . [37m. ....
|
||||
[12C[36m.[37md[34m##::[36m.d$$ [34m`.[11C.[7C[37m::[36m$$b. [37m. [34m.[6C: .
|
||||
[10C[37m.d[34m###::[36md$$$'[34m::. ` .[5C. .[6C[37m:[36m$$$$
|
||||
[8C[37m.d[34m####:::[36m$$$$[34m#:: .......[15C[37m.[36m`$$b [34m: .
|
||||
[8C[36md[34m####::.. [36m`d[34m##:.'[22C[37m: [36m'$'[34m:: .
|
||||
o [36md[34m####::' . [36md[34m$#::[6C., .[14C[36m. [34m:.[5C.[5Co
|
||||
[5C[37m.d[34m###::. ; [36m$[34m$##:: ....'[13C.[6C[36m; [34m. .
|
||||
. [37m.d[34m####::' :. [36m.q[34m$$###::[24C[36m:[9C[34m.[5C:
|
||||
[37m$[34m###::. _.^. [36m`q[34m$$$$##:: ..> . .. . [36m:' [34m.
|
||||
[36m$[34m###::. ,-- [37m..:.[36m`....[34m::::..' .[5C. .. [36m.'[6C[34m::: .' :
|
||||
[36m$[34m##:: :`. [37m.[36m....''''' ```..... [34m. [36m......'''````...... [34m:.
|
||||
[36m$[34m##: [37m...' [36m.......'''''''' """"" `````````..... `. [34m. .
|
||||
[36md[34m##: [37m.' [36m...' .......""""""""""""""""""""""""""".... `. ; [34m.
|
||||
[36m$[34m#::.[37m`[36m. .' [34m.^.[8C:[5C. '[7C... [36m`.. : [34m.
|
||||
[36m([34m### `.[36m"""" [34m.. . ::... . :.[17C. [36m""'' [34m:
|
||||
[36m`@#$$[34m$$$$$$$$$$$$$$$$$$$$#####::::::$$ : : . .[5C.
|
||||
[5C[36m"""""""""""[37m"""[36m"""""""""""""""'' ' [34m'
|
||||
o . o[6C.[5Co . o[6C. o[9Co[7C. : .
|
||||
. : o . o : o . o . o[6C. o . : . o . o . .
|
||||
o[8C.[7Co[7Co[8Co[6C: .[7C: o
|
||||
[36m [32m$$[36m$[32mb[36m [32m$$[36m .[32md$[36mb. [32m$$[36m$[32mb[36m $[32m$$b[36m [32m$[36m$ [32m.d$[36mb. [32m$$[36m$[32mb[36m [32m$$[36m$b [32m$[36m$ [32m.d$[36mb. [32m$$$b
|
||||
[36m [32m$[36m `[32m$[36mb [32m$$[36m [32m$[36m$ $[32m$[36m [32m$[36m `$b [32m$[36m [32m`[36m$b $[32m$[36m $[32m$[36m $$ $ `$[32mb[36m $ `[32m$[36mb $[32m$[36m $$ $$ $ `$b
|
||||
$$$$' $$ $$ [32m$[36m$ $$$$' $$$$' $$ $$ $$ $$$$' $$$$' $$ $$ $$[37m $[36m$$$'
|
||||
[37m$ '$[36mb $$ [37m$$ $[36m$ [37m$ '$b[36m $[37m '$b[36m $[37m$ $$ $$ [36m$ [37m'$b $ '$b $$ [36m$[37m$ $[36m$[37m $ '$b
|
||||
[36m [37m$$$$' $$$`$$$' $$$$' $$$$'[36m [37m$$$`$$$' $$$$' $$$$' $$$[36m`[37m$$$[36m' $[37m$$$'
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
....::""""""""""""""""""""". .
|
||||
. . .* #### ;". ~~. ::::: :
|
||||
.4#####:^.' `.. :::::: `. . ` o
|
||||
.4#####::' : ::::..' .. . .
|
||||
.d####:: . `. . : :: .
|
||||
. o .####::...: . `. . . ....
|
||||
.d##::.d$$ `. . ::$$b. . . : .
|
||||
.d###::d$$$'::. ` . . . :$$$$
|
||||
.d####:::$$$$#:: ....... .`$$b : .
|
||||
d####::.. `d##:.' : '$':: .
|
||||
o d####::' . d$#:: ., . . :. . o
|
||||
.d###::. ; $$##:: ....' . ; . .
|
||||
. .d####::' :. .q$$###:: : . :
|
||||
$###::. _.^. `q$$$$##:: ..> . .. . :' .
|
||||
$###::. ,-- ..:.`....::::..' . . .. .' ::: .' :
|
||||
$##:: :`. .....''''' ```..... . ......'''````...... :.
|
||||
$##: ...' .......'''''''' """"" `````````..... `. . .
|
||||
d##: .' ...' .......""""""""""""""""""""""""""".... `. ; .
|
||||
$#::.`. .' .^. : . ' ... `.. : .
|
||||
(### `."""" .. . ::... . :. . ""'' :
|
||||
`@#$$$$$$$$$$$$$$$$$$$$$$#####::::::$$ : : . . .
|
||||
"""""""""""""""""""""""""""""'' ' '
|
||||
o . o . o . o . o o . : .
|
||||
. : o . o : o . o . o . o . : . o . o . .
|
||||
o . o o o : . : o
|
||||
$$$b $$ .d$b. $$$b $$$b $$ .d$b. $$$b $$$b $$ .d$b. $$$b
|
||||
$ `$b $$ $$ $$ $ `$b $ `$b $$ $$ $$ $ `$b $ `$b $$ $$ $$ $ `$b
|
||||
$$$$' $$ $$ $$ $$$$' $$$$' $$ $$ $$ $$$$' $$$$' $$ $$ $$ $$$$'
|
||||
$ '$b $$ $$ $$ $ '$b $ '$b $$ $$ $$ $ '$b $ '$b $$ $$ $$ $ '$b
|
||||
$$$$' $$$`$$$' $$$$' $$$$' $$$`$$$' $$$$' $$$$' $$$`$$$' $$$$'
|
|
@ -30,6 +30,10 @@ type
|
|||
# known by this node appears in a head block
|
||||
onKnownBlsToExecutionChange*: LogProc
|
||||
|
||||
# Gets displayed on upgrade to Deneb. May be displayed multiple times
|
||||
# in case of chain reorgs around the upgrade.
|
||||
onUpgradeToDeneb*: LogProc
|
||||
|
||||
# Created by http://beatscribe.com/ (beatscribe#1008 on Discord)
|
||||
# These need to be the main body of the log not to be reformatted or escaped.
|
||||
|
||||
|
@ -40,3 +44,6 @@ proc blink🐼*() = notice "\n" & staticRead("bellatrix" / "blink.ans")
|
|||
proc mono🦉*() = notice "\n" & staticRead("capella" / "mono.txt")
|
||||
proc color🦉*() = notice "\n" & staticRead("capella" / "color.ans")
|
||||
proc blink🦉*() = notice "\n" & staticRead("capella" / "blink.ans")
|
||||
|
||||
proc mono🐟*() = notice "\n" & staticRead("deneb" / "mono.txt")
|
||||
proc color🐟*() = notice "\n" & staticRead("deneb" / "color.ans")
|
||||
|
|
|
@ -122,13 +122,15 @@ func getVanityLogs(stdoutKind: StdoutLogKind): VanityLogs =
|
|||
onMergeTransitionBlock: color🐼,
|
||||
onFinalizedMergeTransitionBlock: blink🐼,
|
||||
onUpgradeToCapella: color🦉,
|
||||
onKnownBlsToExecutionChange: blink🦉)
|
||||
onKnownBlsToExecutionChange: blink🦉,
|
||||
onUpgradeToDeneb: color🐟)
|
||||
of StdoutLogKind.NoColors:
|
||||
VanityLogs(
|
||||
onMergeTransitionBlock: mono🐼,
|
||||
onFinalizedMergeTransitionBlock: mono🐼,
|
||||
onUpgradeToCapella: mono🦉,
|
||||
onKnownBlsToExecutionChange: mono🦉)
|
||||
onKnownBlsToExecutionChange: mono🦉,
|
||||
onUpgradeToDeneb: mono🐟)
|
||||
of StdoutLogKind.Json, StdoutLogKind.None:
|
||||
VanityLogs(
|
||||
onMergeTransitionBlock:
|
||||
|
@ -138,7 +140,9 @@ func getVanityLogs(stdoutKind: StdoutLogKind): VanityLogs =
|
|||
onUpgradeToCapella:
|
||||
(proc() = notice "🦉 Withdrowls now available 🦉"),
|
||||
onKnownBlsToExecutionChange:
|
||||
(proc() = notice "🦉 BLS to execution changed 🦉"))
|
||||
(proc() = notice "🦉 BLS to execution changed 🦉"),
|
||||
onUpgradeToDeneb:
|
||||
(proc() = notice "🐟 Proto-Danksharding is ON 🐟"))
|
||||
|
||||
proc loadChainDag(
|
||||
config: BeaconNodeConf,
|
||||
|
|
Loading…
Reference in New Issue