From a8e57b6bb4a7b5569e65b9542c284e87f1ad8ebc Mon Sep 17 00:00:00 2001 From: Carl Beekhuizen Date: Tue, 24 Jan 2023 11:14:54 +0100 Subject: [PATCH] Adds owl ASCII art --- .../cli/generate_bls_to_execution_change.py | 3 ++ staking_deposit/utils/ascii_art.py | 30 +++++++++++++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/staking_deposit/cli/generate_bls_to_execution_change.py b/staking_deposit/cli/generate_bls_to_execution_change.py index a531d902..84705b09 100644 --- a/staking_deposit/cli/generate_bls_to_execution_change.py +++ b/staking_deposit/cli/generate_bls_to_execution_change.py @@ -11,6 +11,7 @@ from staking_deposit.credentials import ( CredentialList, ) +from staking_deposit.utils.ascii_art import OWL_0 from staking_deposit.utils.validation import ( validate_bls_withdrawal_credentials_list, validate_bls_withdrawal_credentials_matching, @@ -190,6 +191,8 @@ def generate_bls_to_execution_change( if not json_file_validation_result: raise ValidationError(load_text(['err_verify_btec'])) + click.clear() + click.echo(OWL_0) click.echo(load_text(['msg_creation_success']) + str(bls_to_execution_changes_folder)) click.pause(load_text(['msg_pause'])) diff --git a/staking_deposit/utils/ascii_art.py b/staking_deposit/utils/ascii_art.py index 79268e58..b7bea6ea 100644 --- a/staking_deposit/utils/ascii_art.py +++ b/staking_deposit/utils/ascii_art.py @@ -1,5 +1,5 @@ # flake8: noqa -RHINO_0 = ''' +RHINO_0=''' ##### ##### ## ##### ## @@ -21,4 +21,30 @@ ####### ################# ### ## ## ## ## ## ### ############## ############# - ''' +''' + +OWL_0=r''' + +"|||||,,,.. ..,,,|||||" + '||( |||,||| )||' + "||,,,,. "|" .,,,,||" + .d8888b. .d8888b. + o8' o '8o o8'o `8o + o8. .8o o8. .8o + `Y8888P' `Y8888P' + ,||''|| \ / ||''||, + ,|| ||, \ / .|| ||, + || || ` || || +,|| '|| ||' ||, +|| '|| ||' || +|| |; ;| || +|| ,| |, || +||, ,|| ||, ,|| + ||, ,||| |||, ,|| + '||,,||||,...,||||,,|| + `|||..."|||"...|||' + %%%%%WWWW%%%%%%WWWW%%%%% + `````""3$F""""#$F""""""" + @$.... '$B + d$$$$$$$$$$: +'''