-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HF doc audit for o1js docs: Recursion, Smart Contracts #841
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
docs/zkapps/o1js/smart-contracts.md
Outdated
@@ -166,7 +131,7 @@ As a zkApp developer, if you add this method to your smart contract, you are say | |||
|
|||
## Reading state | |||
|
|||
Often, we also want to _read_ state – check out this example: | |||
This example _reads_ state: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to provide a reason to read state? (the often statement can be enhanced)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe leave it as is until we start getting questions about this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments here!
docs/zkapps/o1js/recursion.mdx
Outdated
::: | ||
|
||
In o1js, you can use `ZkProgram()` to define the steps of a recursive program. Just like `SmartContract()` methods, `ZkProgram()` methods have any number of methods and execute off-chain. | ||
In o1js, you can use `ZkProgram()` to define the steps of a recursive program. Like `SmartContract()` methods, `ZkProgram()` methods have any number of methods and execute off-chain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mitschabaude wdyt about just omitting mention of a fixed limit of methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This PR continues work for the Audit non-tutorial zkApps docs before HF epic:
HF audit zkApp docs: Recursion #480
handy preview link https://docs2-git-hf4-doc-audit-minadocs.vercel.app/zkapps/o1js/recursion
HF audit zkApp docs: Smart Contracts #481
handy preview link https://docs2-git-hf4-doc-audit-minadocs.vercel.app/zkapps/o1js/smart-contracts
The technical review requires verifying the code snippets in each doc and the code in the examples linked from these pages. Thanks @jackryanservia for teaching me how to run the code. Related PR #845