diff --git a/packages/beacon-node/src/chain/blocks/utils/doubleGiraffeBanner.ts b/packages/beacon-node/src/chain/blocks/utils/doubleGiraffeBanner.ts new file mode 100644 index 000000000000..e255e981ee25 --- /dev/null +++ b/packages/beacon-node/src/chain/blocks/utils/doubleGiraffeBanner.ts @@ -0,0 +1,39 @@ +export const GIRAFFE_BANNER = String.raw` + 2048 + % %% + %@####=*#@%%% + %*---*+*+***##@@%% + @+===++=+*=+++**##@#@@@@%%% + @##*@+*+==++**+*+++-*@#+*#**###@@@%%%%%@%%%%%%%%% + ##**###% %%%#@@=*@*=#*#+=*##+=**********+*###***##@% + %##+*#@ %@@###+#*+*+++*#*+##++##*=*###++*####@ + %#*## %@@%@+@#+##+=*##*=+*+=*#*=+#++**%@#@% + @@% %@##@@**##=*###+=*#+++#***####@########@@##% + %@@@###**+##+=#*#+++**####*#+#*#**#*###@ + %@##+***+*+++=####+*#++#*+***++#####% + ###***++**#**#*+###++*+**#+####@### + **+=**+**#@+#@#+**#*+#@#***#@#@####@ + 32 %*****+*@#+##*#@*#@+#@*#*#@*@@#@##@@# + #@#*#@*@ #*#*****#+####@#@+*#*@#*@####@##@@@#% + +++*##% @*@*###*+*######=#@**@@*#####@#@@@#@ + #+*#% ****#+=*###***+#**@**#***#######@#% + #+#@% %+==**++###*****#*************##@#% + %+*#@% #-=+*+**##%%@@@@@@% @#********###@ + ++####@ ***+++**# #****@@**##%%% + %*####*#####% %=*+*+**# @***#@ #**#% %% + %+***#****+*# #*+*+**@ #**#@ %*##@%%#% + *==+*#*******# @+*+=*#@ %**##@ #*##@@@ + #==*#*******#* %+++++*# *### %###@@@% + +-+*********# +=+==+# *##% @*# + %-==*# @++***#% #**#**@ *#@ *#% + *+*+#% ++##**#@ @=**=*@ %*#@ #*@ + #-+++#% %+*#%**# %-#+:+@ @*#% @*# + +=#+=*% %=#% @*# %-#*:+@ #+#% %+*% + #=@@-@ @=# +# @-##:=% +=# %==# + #-@ -% @=@ *+ @-*@:=% %:-# %--* + #:# -@ *:@ #-# +.+#.:* %=:*% #==# + *:#@.+ %-=% #-# %:-*+.-* %**#@ *#%% + #*%#-@ %@% %% @+-+#=:=# %% + % %+#@%*=*## + %% +`; diff --git a/packages/beacon-node/src/chain/blocks/utils/giraffeBanner.ts b/packages/beacon-node/src/chain/blocks/utils/giraffeBanner.ts new file mode 100644 index 000000000000..f9d9676ae6fb --- /dev/null +++ b/packages/beacon-node/src/chain/blocks/utils/giraffeBanner.ts @@ -0,0 +1,39 @@ +export const GIRAFFE_BANNER = String.raw` + 2048 + :++ + :-==--- + :-+=--:-:-+**=: + :-=+*=++=-+**+++=+++=-: + :-==++++*#=+#+++++*++++-=*#*- + :---=++=*##+**+%**+:: :: + ::--=+**++#*=*#++%@#*+- + ::MAXEB++==*#*+-+###*++*#%#*=: + :-+==++=*#%%*-*##*=+**#%@%*=-: + -=**=+%*=*+*#++#***#%#*##=: + :-++===+**=*@%*=*#*+%@@#+: + :-+-*##++==###+*#+#%@@*=-: + 32 :-:--=+-**+===+*%*=*%%++#**+-: + ::-===*=*+*++=+#%#=*@@%+=+=+%@%*: + :-*=+#*=**==++*+=**#+%%#+*%%*=*****- + -*=+==+=+%@*-#*+%@%%**%%#=**=#%#+%%@* + :==+-+*=*=***#+#%%##%*#@@#=@@+%%#*+**: + : -*=*+#+=%*#%*#%#+##***+**%***+###* + -*+#+**+*+=*+*%**#%%*==++++@%++=== + :++*+#%**++==++*###*+**+--+**++--- + ==+*+++++=: ::------:: +*+*=+-== + -=+++=+=- -+*+ ==+- + -======: -++- --+- + :=--=-=: :++: :==- + +==--=- :== --= + :+==--- :: :--: + -====: -: -== + :-:== :- :=- + : -- :- -: + : -- :- :- + : -- :: -: + : -=: :: -- + - -=: :- -=- + ::-=- --: ==: + : : :=-: :::: :--: + ::: : +`; diff --git a/packages/beacon-node/src/chain/blocks/verifyBlock.ts b/packages/beacon-node/src/chain/blocks/verifyBlock.ts index 5ead67a720f7..fa8512347b88 100644 --- a/packages/beacon-node/src/chain/blocks/verifyBlock.ts +++ b/packages/beacon-node/src/chain/blocks/verifyBlock.ts @@ -22,6 +22,7 @@ import {SegmentExecStatus, verifyBlocksExecutionPayload} from "./verifyBlocksExe import {verifyBlocksSignatures} from "./verifyBlocksSignatures.js"; import {verifyBlocksStateTransitionOnly} from "./verifyBlocksStateTransitionOnly.js"; import {writeBlockInputToDb} from "./writeBlockInputToDb.js"; +import { GIRAFFE_BANNER } from "./utils/giraffeBanner.js"; /** * Verifies 1 or more blocks are fully valid; from a linear sequence of blocks. @@ -156,6 +157,11 @@ export async function verifyBlocksInEpoch( this.logger.info(DENEB_BLOWFISH_BANNER); 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: }