hello, thanks for awesome guide. but I'm having an error when trying to build now. First it gives the following error when I run the code below protostar deploy ./build/main.json --network alpha-goerli:
[ERROR] Unknown StarkNet network The following StarkNet network names are supported:
and if I try to run it like that protostar deploy ./build/main.json --network testnet it outputs the following:
21:42:21 [WARNING] protostar deploy will be removed in the future release
docs starknet.io/documentation/develop/Blocks/transactions/#deploy_transaction
Unexpected Protostar error. Report it here:
github com/software-mansion/protostar/issues
Traceback (most recent call last): File "binary_entrypoint.py", line 80, in <module> File "binary_entrypoint.py", line 23, in init File "protostar/start.py", line 21, in main File "protostar/start.py", line 47, in run_protostar File "protostar/start.py", line 42, in run_protostar File "asyncio/runners.py", line 44, in run File "asyncio/base_events.py", line 647, in run_until_complete File "protostar/protostar_cli.py", line 81, in run File "protostar/protostar_cli.py", line 125, in _run_command_from_args File "protostar/argument_parser/cli_app.py", line 25, in run File "protostar/commands/deploy_command.py", line 88, in run File "protostar/starknet_gateway/gateway_facade.py", line 139, in deploy File "starknet_py/net/gateway_client.py", line 260, in deploy File "starknet_py/net/gateway_client.py", line 316, in _add_transaction File "starknet_py/net/http_client.py", line 70, in post File "starknet_py/net/http_client.py", line 37, in request File "starknet_py/net/http_client.py", line 51, in _make_request File "starknet_py/net/http_client.py", line 81, in handle_request_error File "starknet_py/net/http_client.py", line 115, in basic_error_handle starknet_py.net.client_errors.ClientError: Client failed with code 500: {"code": "StarknetErrorCode.DEPRECATED_TRANSACTION", "message": "Deploy transaction is no longer supported."} [54586] Failed to execute script 'binary_entrypoint' due to unhandled exception!
Maybe you know how this error can be fixed. Thanks