Skip to content

Commit 6d25c3d

Browse files
docs: apply suggestions from code review
Co-authored-by: Neil Campbell <neil.campbell@makerx.com.au>
1 parent 8b3af0f commit 6d25c3d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/html/_sources/capabilities/app-deploy.md.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ An example of the ARC-2 transaction note that is attached as an app creation / u
6868
ALGOKIT_DEPLOYER:j{name:"MyApp",version:"1.0",updatable:true,deletable:false}
6969
```
7070

71-
> NOTE: Starting from v3.0.0, AlgoKit Utils no longer automatically increments the contract version by default. It is end user's responsibility to explicitly manage versioning of their smart contracts (if desired).
71+
> NOTE: Starting from v3.0.0, AlgoKit Utils no longer automatically increments the contract version by default. It is the user's responsibility to explicitly manage versioning of their smart contracts (if desired).
7272

7373
## Lookup deployed apps by name
7474

docs/source/capabilities/app-deploy.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ An example of the ARC-2 transaction note that is attached as an app creation / u
6868
ALGOKIT_DEPLOYER:j{name:"MyApp",version:"1.0",updatable:true,deletable:false}
6969
```
7070

71-
> NOTE: Starting from v3.0.0, AlgoKit Utils no longer automatically increments the contract version by default. It is end user's responsibility to explicitly manage versioning of their smart contracts (if desired).
71+
> NOTE: Starting from v3.0.0, AlgoKit Utils no longer automatically increments the contract version by default. It is the user's responsibility to explicitly manage versioning of their smart contracts (if desired).
7272
7373
## Lookup deployed apps by name
7474

@@ -201,11 +201,11 @@ Below is a sample in [Algorand Python SDK](https://github.com/algorandfoundation
201201
# ... your contract code ...
202202
@arc4.baremethod(allow_actions=["UpdateApplication"])
203203
def update(self) -> None:
204-
assert TemplateVar[bool](UPDATABLE_TEMPLATE_NAME)
204+
assert TemplateVar[bool]("UPDATABLE")
205205

206206
@arc4.baremethod(allow_actions=["DeleteApplication"])
207207
def delete(self) -> None:
208-
assert TemplateVar[bool](DELETABLE_TEMPLATE_NAME)
208+
assert TemplateVar[bool]("DELETABLE")
209209
# ... your contract code ...
210210
```
211211

docs/source/v3-migration-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ result = algorand.send.asset_opt_in(
249249
4. **Application Client**
250250

251251
- Split into `AppClient`, `AppDeployer` and `AppFactory`
252-
- `deploy` method in `AppFactory`/`AppDeployer` no longer auto increments the contract version by default. It is end user's responsibility to explicitly manage versioning of their smart contracts (if desired).
252+
- `deploy` method in `AppFactory`/`AppDeployer` no longer auto increments the contract version by default. It is the user's responsibility to explicitly manage versioning of their smart contracts (if desired).
253253
- New intuitive structured interface for creating or sending `AppCall`|`AppMethodCall` transactions
254254
- ARC-56 support along with automatic conversion of specs from ARC-32 to ARC-56
255255

0 commit comments

Comments
 (0)