You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "binary_entrypoint.py", line 85, in <module>
File "binary_entrypoint.py", line 24, in init
File "protostar/start.py", line 19, in main
File "protostar/composition_root.py", line 273, in build_di_container
File "protostar/argument_parser/argument_parser_facade.py", line 74, in __init__
File "protostar/argument_parser/argument_parser_facade.py", line 156, in _setup_parser
File "protostar/argument_parser/argument_parser_facade.py", line 173, in _add_command
File "protostar/argument_parser/argument_parser_facade.py", line 212, in _set_value_from_external_source
File "protostar/argument_parser/argument_parser_facade.py", line 212, in <listcomp>
File "protostar/cli/protostar_arg_type.py", line 56, in parse_wei_arg_type
ValueError: could not convert string to float: 'auto'
[21975] Failed to execute script 'binary_entrypoint' due to unhandled exception!
Expected Behavior
The command should be able to execute using all the flags defined in the profile including max-fee
Steps to Reproduce
Create a project with protostar init
Create a profile for testnet that sets max-fee = "auto"
Try to use the CLI for invoke, declare or deploy that expects --max-fee
Possible Solution
I don't know
The text was updated successfully, but these errors were encountered:
I was able to predefine a lot of flags for the Protostar CLI using profiles in
protostar.toml
like this:And then running the command with the profile works
However, if I try to move the
max-fee
flag to the profile the command fails with the errorcould not convert string to float: 'auto'
Protostar version
0.13.0
0.11.1.1
2.39.2
Current Behavior
If I move all the flags, including
max-fee
to the profile like thisAnd then try to execute this command
I get the following error in the terminal:
Expected Behavior
The command should be able to execute using all the flags defined in the profile including
max-fee
Steps to Reproduce
protostar init
max-fee = "auto"
--max-fee
Possible Solution
I don't know
The text was updated successfully, but these errors were encountered: