Skip to content

Commit

Permalink
Merge 581ee18 into 64eb015
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 authored Dec 3, 2024
2 parents 64eb015 + 581ee18 commit a459181
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 0 deletions.
39 changes: 39 additions & 0 deletions packages/beacon-node/src/chain/blocks/utils/doubleGiraffeBanner.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export const GIRAFFE_BANNER = String.raw`
2048
% %%
%@####=*#@%%%
%*---*+*+***##@@%%
@+===++=+*=+++**##@#@@@@%%%
@##*@+*+==++**+*+++-*@#+*#**###@@@%%%%%@%%%%%%%%%
##**###% %%%#@@=*@*=#*#+=*##+=**********+*###***##@%
%##+*#@ %@@###+#*+*+++*#*+##++##*=*###++*####@
%#*## %@@%@+@#+##+=*##*=+*+=*#*=+#++**%@#@%
@@% %@##@@**##=*###+=*#+++#***####@########@@##%
%@@@###**+##+=#*#+++**####*#+#*#**#*###@
%@##+***+*+++=####+*#++#*+***++#####%
###***++**#**#*+###++*+**#+####@###
**+=**+**#@+#@#+**#*+#@#***#@#@####@
32 %*****+*@#+##*#@*#@+#@*#*#@*@@#@##@@#
#@#*#@*@ #*#*****#+####@#@+*#*@#*@####@##@@@#%
+++*##% @*@*###*+*######=#@**@@*#####@#@@@#@
#+*#% ****#+=*###***+#**@**#***#######@#%
#+#@% %+==**++###*****#*************##@#%
%+*#@% #-=+*+**##%%@@@@@@% @#********###@
++####@ ***+++**# #****@@**##%%%
%*####*#####% %=*+*+**# @***#@ #**#% %%
%+***#****+*# #*+*+**@ #**#@ %*##@%%#%
*==+*#*******# @+*+=*#@ %**##@ #*##@@@
#==*#*******#* %+++++*# *### %###@@@%
+-+*********# +=+==+# *##% @*#
%-==*# @++***#% #**#**@ *#@ *#%
*+*+#% ++##**#@ @=**=*@ %*#@ #*@
#-+++#% %+*#%**# %-#+:+@ @*#% @*#
+=#+=*% %=#% @*# %-#*:+@ #+#% %+*%
#=@@-@ @=# +# @-##:=% +=# %==#
#-@ -% @=@ *+ @-*@:=% %:-# %--*
#:# -@ *:@ #-# +.+#.:* %=:*% #==#
*:#@.+ %-=% #-# %:-*+.-* %**#@ *#%%
#*%#-@ %@% %% @+-+#=:=# %%
% %+#@%*=*##
%%
`;
39 changes: 39 additions & 0 deletions packages/beacon-node/src/chain/blocks/utils/giraffeBanner.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export const GIRAFFE_BANNER = String.raw`
2048
:++
:-==---
:-+=--:-:-+**=:
:-=+*=++=-+**+++=+++=-:
:-==++++*#=+#+++++*++++-=*#*-
:---=++=*##+**+%**+:: ::
::--=+**++#*=*#++%@#*+-
::MAXEB++==*#*+-+###*++*#%#*=:
:-+==++=*#%%*-*##*=+**#%@%*=-:
-=**=+%*=*+*#++#***#%#*##=:
:-++===+**=*@%*=*#*+%@@#+:
:-+-*##++==###+*#+#%@@*=-:
32 :-:--=+-**+===+*%*=*%%++#**+-:
::-===*=*+*++=+#%#=*@@%+=+=+%@%*:
:-*=+#*=**==++*+=**#+%%#+*%%*=*****-
-*=+==+=+%@*-#*+%@%%**%%#=**=#%#+%%@*
:==+-+*=*=***#+#%%##%*#@@#=@@+%%#*+**:
: -*=*+#+=%*#%*#%#+##***+**%***+###*
-*+#+**+*+=*+*%**#%%*==++++@%++===
:++*+#%**++==++*###*+**+--+**++---
==+*+++++=: ::------:: +*+*=+-==
-=+++=+=- -+*+ ==+-
-======: -++- --+-
:=--=-=: :++: :==-
+==--=- :== --=
:+==--- :: :--:
-====: -: -==
:-:== :- :=-
: -- :- -:
: -- :- :-
: -- :: -:
: -=: :: --
- -=: :- -=-
::-=- --: ==:
: : :=-: :::: :--:
::: :
`;
6 changes: 6 additions & 0 deletions packages/beacon-node/src/chain/blocks/verifyBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {BlockProcessOpts} from "../options.js";
import {RegenCaller} from "../regen/index.js";
import {BlockInput, BlockInputType, ImportBlockOpts} from "./types.js";
import {DENEB_BLOWFISH_BANNER} from "./utils/blowfishBanner.js";
import {GIRAFFE_BANNER} from "./utils/giraffeBanner.js";
import {CAPELLA_OWL_BANNER} from "./utils/ownBanner.js";
import {POS_PANDA_MERGE_TRANSITION_BANNER} from "./utils/pandaMergeTransitionBanner.js";
import {verifyBlocksDataAvailability} from "./verifyBlocksDataAvailability.js";
Expand Down Expand Up @@ -157,6 +158,11 @@ export async function verifyBlocksInEpoch(
this.logger.info("Activating blobs", {epoch: this.config.DENEB_FORK_EPOCH});
break;

case ForkName.electra:
this.logger.info(GIRAFFE_BANNER);
this.logger.info("Activating maxEB", {epoch: this.config.ELECTRA_FORK_EPOCH});
break;

default:
}
}
Expand Down

0 comments on commit a459181

Please sign in to comment.