Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds owl ASCII art to BLS to Execution change #314

Open
wants to merge 1 commit into
base: bls-to-execution-change
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions staking_deposit/cli/generate_bls_to_execution_change.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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']))
30 changes: 28 additions & 2 deletions staking_deposit/utils/ascii_art.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# flake8: noqa
RHINO_0 = '''
RHINO_0='''

##### #####
## ##### ##
Expand All @@ -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$$$$$$$$$$:
'''