From 130ee193e82d439a8834466b9018902ba9ec9b71 Mon Sep 17 00:00:00 2001 From: Rob Moore Date: Tue, 7 Nov 2023 23:54:39 +0800 Subject: [PATCH] chore: Resolving broken tests --- .../test_default_parameters/smart_contracts/README.md | 2 +- .../test_deployment_language-python/smart_contracts/README.md | 2 +- .../smart_contracts/README.md | 2 +- .../test_ide_jetbrains-False/smart_contracts/README.md | 2 +- .../test_ide_jetbrains-True/smart_contracts/README.md | 2 +- tests_generated/test_ide_vscode-False/smart_contracts/README.md | 2 +- tests_generated/test_ide_vscode-True/smart_contracts/README.md | 2 +- .../test_preset_name-production/smart_contracts/README.md | 2 +- .../test_preset_name-starter/smart_contracts/README.md | 2 +- .../test_python_linter-flake8/smart_contracts/README.md | 2 +- .../test_python_linter-none/smart_contracts/README.md | 2 +- .../test_python_linter-ruff/smart_contracts/README.md | 2 +- .../smart_contracts/README.md | 2 +- .../smart_contracts/README.md | 2 +- .../smart_contracts/README.md | 2 +- .../smart_contracts/README.md | 2 +- .../test_use_github_actions-False/smart_contracts/README.md | 2 +- .../test_use_github_actions-True/smart_contracts/README.md | 2 +- .../test_use_python_black-False/smart_contracts/README.md | 2 +- .../test_use_python_black-True/smart_contracts/README.md | 2 +- .../test_use_python_mypy-False/smart_contracts/README.md | 2 +- .../test_use_python_mypy-True/smart_contracts/README.md | 2 +- .../test_use_python_pytest-False/smart_contracts/README.md | 2 +- .../test_use_python_pytest-True/smart_contracts/README.md | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/tests_generated/test_default_parameters/smart_contracts/README.md b/tests_generated/test_default_parameters/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_default_parameters/smart_contracts/README.md +++ b/tests_generated/test_default_parameters/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_deployment_language-python/smart_contracts/README.md b/tests_generated/test_deployment_language-python/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_deployment_language-python/smart_contracts/README.md +++ b/tests_generated/test_deployment_language-python/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_deployment_language-typescript/smart_contracts/README.md b/tests_generated/test_deployment_language-typescript/smart_contracts/README.md index 3f9c4ccd..e97ba8b0 100644 --- a/tests_generated/test_deployment_language-typescript/smart_contracts/README.md +++ b/tests_generated/test_deployment_language-typescript/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy-config.ts`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. 4. Since you are generating a TypeScript client, you also need to reference your contract deployment logic in `index.ts` file. However, similar to config.py, by default, `index.ts` will auto import all TypeScript deployment files under `smart_contracts` directory. If you want to manually import specific contracts, modify the default code provided by the template in `index.ts` file. diff --git a/tests_generated/test_ide_jetbrains-False/smart_contracts/README.md b/tests_generated/test_ide_jetbrains-False/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_ide_jetbrains-False/smart_contracts/README.md +++ b/tests_generated/test_ide_jetbrains-False/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_ide_jetbrains-True/smart_contracts/README.md b/tests_generated/test_ide_jetbrains-True/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_ide_jetbrains-True/smart_contracts/README.md +++ b/tests_generated/test_ide_jetbrains-True/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_ide_vscode-False/smart_contracts/README.md b/tests_generated/test_ide_vscode-False/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_ide_vscode-False/smart_contracts/README.md +++ b/tests_generated/test_ide_vscode-False/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_ide_vscode-True/smart_contracts/README.md b/tests_generated/test_ide_vscode-True/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_ide_vscode-True/smart_contracts/README.md +++ b/tests_generated/test_ide_vscode-True/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_preset_name-production/smart_contracts/README.md b/tests_generated/test_preset_name-production/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_preset_name-production/smart_contracts/README.md +++ b/tests_generated/test_preset_name-production/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_preset_name-starter/smart_contracts/README.md b/tests_generated/test_preset_name-starter/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_preset_name-starter/smart_contracts/README.md +++ b/tests_generated/test_preset_name-starter/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_python_linter-flake8/smart_contracts/README.md b/tests_generated/test_python_linter-flake8/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_python_linter-flake8/smart_contracts/README.md +++ b/tests_generated/test_python_linter-flake8/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_python_linter-none/smart_contracts/README.md b/tests_generated/test_python_linter-none/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_python_linter-none/smart_contracts/README.md +++ b/tests_generated/test_python_linter-none/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_python_linter-ruff/smart_contracts/README.md b/tests_generated/test_python_linter-ruff/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_python_linter-ruff/smart_contracts/README.md +++ b/tests_generated/test_python_linter-ruff/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_smart_contract_generator_default_production_preset_python/smart_contracts/README.md b/tests_generated/test_smart_contract_generator_default_production_preset_python/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_smart_contract_generator_default_production_preset_python/smart_contracts/README.md +++ b/tests_generated/test_smart_contract_generator_default_production_preset_python/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_smart_contract_generator_default_production_preset_typescript/smart_contracts/README.md b/tests_generated/test_smart_contract_generator_default_production_preset_typescript/smart_contracts/README.md index 3f9c4ccd..e97ba8b0 100644 --- a/tests_generated/test_smart_contract_generator_default_production_preset_typescript/smart_contracts/README.md +++ b/tests_generated/test_smart_contract_generator_default_production_preset_typescript/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy-config.ts`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. 4. Since you are generating a TypeScript client, you also need to reference your contract deployment logic in `index.ts` file. However, similar to config.py, by default, `index.ts` will auto import all TypeScript deployment files under `smart_contracts` directory. If you want to manually import specific contracts, modify the default code provided by the template in `index.ts` file. diff --git a/tests_generated/test_smart_contract_generator_default_starter_preset_python/smart_contracts/README.md b/tests_generated/test_smart_contract_generator_default_starter_preset_python/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_smart_contract_generator_default_starter_preset_python/smart_contracts/README.md +++ b/tests_generated/test_smart_contract_generator_default_starter_preset_python/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_smart_contract_generator_default_starter_preset_typescript/smart_contracts/README.md b/tests_generated/test_smart_contract_generator_default_starter_preset_typescript/smart_contracts/README.md index 3f9c4ccd..e97ba8b0 100644 --- a/tests_generated/test_smart_contract_generator_default_starter_preset_typescript/smart_contracts/README.md +++ b/tests_generated/test_smart_contract_generator_default_starter_preset_typescript/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy-config.ts`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. 4. Since you are generating a TypeScript client, you also need to reference your contract deployment logic in `index.ts` file. However, similar to config.py, by default, `index.ts` will auto import all TypeScript deployment files under `smart_contracts` directory. If you want to manually import specific contracts, modify the default code provided by the template in `index.ts` file. diff --git a/tests_generated/test_use_github_actions-False/smart_contracts/README.md b/tests_generated/test_use_github_actions-False/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_use_github_actions-False/smart_contracts/README.md +++ b/tests_generated/test_use_github_actions-False/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_use_github_actions-True/smart_contracts/README.md b/tests_generated/test_use_github_actions-True/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_use_github_actions-True/smart_contracts/README.md +++ b/tests_generated/test_use_github_actions-True/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_use_python_black-False/smart_contracts/README.md b/tests_generated/test_use_python_black-False/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_use_python_black-False/smart_contracts/README.md +++ b/tests_generated/test_use_python_black-False/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_use_python_black-True/smart_contracts/README.md b/tests_generated/test_use_python_black-True/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_use_python_black-True/smart_contracts/README.md +++ b/tests_generated/test_use_python_black-True/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_use_python_mypy-False/smart_contracts/README.md b/tests_generated/test_use_python_mypy-False/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_use_python_mypy-False/smart_contracts/README.md +++ b/tests_generated/test_use_python_mypy-False/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_use_python_mypy-True/smart_contracts/README.md b/tests_generated/test_use_python_mypy-True/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_use_python_mypy-True/smart_contracts/README.md +++ b/tests_generated/test_use_python_mypy-True/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_use_python_pytest-False/smart_contracts/README.md b/tests_generated/test_use_python_pytest-False/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_use_python_pytest-False/smart_contracts/README.md +++ b/tests_generated/test_use_python_pytest-False/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file. diff --git a/tests_generated/test_use_python_pytest-True/smart_contracts/README.md b/tests_generated/test_use_python_pytest-True/smart_contracts/README.md index 0f64fe3d..f765c95c 100644 --- a/tests_generated/test_use_python_pytest-True/smart_contracts/README.md +++ b/tests_generated/test_use_python_pytest-True/smart_contracts/README.md @@ -2,7 +2,7 @@ By the default the template creates a single `HelloWorld` contract under hello_world folder in the `smart_contracts` directory. To add a new contract: -1. From the root of the repository execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. +1. From the root of the project (`../`) execute `algokit generate smart-contract`. This will create a new starter smart contract and deployment configuration file under `{your_contract_name}` subfolder under `smart_contracts` directory. 2. Each contract potentially has different creation parameters and deployment steps. Hence, you need to define your deployment logic in `deploy_config.py`file. 3. `config.py` file will automatically build all contracts under `smart_contracts` directory. If you want to build specific contracts manually, modify the default code provided by the template in `config.py` file.