Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/update-tutorial4
Browse files Browse the repository at this point in the history
  • Loading branch information
ymekuria committed Dec 1, 2023
2 parents b4d4f67 + 0d114e7 commit 4b8ce2f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/zkapps/o1js/recursion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ import { SelfProof, Field, ZkProgram, verify } from 'o1js';

const AddOne = ZkProgram({
name: "add-one-example",
publicInputType: Field,
publicInput: Field,

methods: {
baseCase: {
Expand Down Expand Up @@ -170,7 +170,7 @@ import { SelfProof, Field, ZkProgram, verify } from 'o1js';

let RollupAdd = ZkProgram({
name: "rollup-add-example",
publicInputType: Field,
publicInput: Field,

methods: {
baseCase: {
Expand Down
4 changes: 2 additions & 2 deletions docs/zkapps/tutorials/01-hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ All smart contracts that you create with the zkApp CLI use similar code:
Comments break down each stage:

```ts src/main.ts
19 const { privateKey: deployerKey, publicKey: deployerAccount } = Local.testAccounts[0];
20 const { privateKey: senderKey, publicKey: senderAccount } = Local.testAccounts[1];
19
20
21
22 // ----------------------------------------------------
23
Expand Down
4 changes: 2 additions & 2 deletions docs/zkapps/tutorials/09-recursion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ To create a ZkProgram, start with the `init()` method.
```typescript
const Add = ZkProgram({
name: 'add-example',
publicInputType: Field,
publicInput: Field,

methods: {
init: {
Expand Down Expand Up @@ -266,7 +266,7 @@ class RollupState extends Struct({

const Rollup = ZkProgram({
name: "rollup-example",
publicInputType: Field,
publicInput: Field,

methods: {
oneStep: {
Expand Down

0 comments on commit 4b8ce2f

Please sign in to comment.