Bootstrapped algokit, removed commented line, and updated generate client command #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bootstrapped algokit, removed commented line, and updated generate client command
Algorand Coding Challenge Submission
What was the bug?
The bug was that algokit was not yet bootstrapped.
How did you fix the bug?
Tried to run













npm run testand encountered missing
tealscriptdependency, this indicates that I likely need to install all the necessary dependencies.The hint suggestion pointed to using
algokit bootstrap all,algokit bootstrap env,algokit bootstrap poetry, andalgokit bootstrap npm. Out of these commands I thought that it would be fine to just usealgokit bootstrap npm:I then tried to run
npm run testbut encountered a client generation failure:This led me to trying to fix the previous package issues that were mentioned by using
npm audit fixI then tried to run
npm run testbut encountered a client generation failure:I decided to revisit the idea that maybe I should run all of the algokit commands instead so I ran
algokit bootstrap all:Still the same error:
Here I tried to run
algokit doctorbecause I thought there was a missing dependency that was causing the client generation failure. I noticed that poetry was not installed even though algokit bootstrap all was run earlier (which claims to runalgokit bootstrap poetry).I decide to run
algokit bootstrap poetryas a remediation attemptPoetry is now installed:
Still the same error:
I saw this PR: #30 and noticed that they had changed
algokit generatetoalgokitgen generateso I tried that out but got the following error:Took inspiration from above PR and modified the command to use -a with the artifact json:
Console Screenshot:

Completed tests:
Additional Comments
I'm not sure if the creation of new artifacts is intentionally stored in github / other repo. My natural instinct is that it might be something that should be in a gitignore. Please do educate me on best practices / why we should store these artifacts in a repo.
algokit bootstrap alldidnt actually seem to runalgokit bootstrap poetryoralgokit bootstrap env