From 0f33b4b20d3338521d06c7a47a552ea25484ec9c Mon Sep 17 00:00:00 2001 From: pinglanlu Date: Thu, 16 Jan 2025 20:15:26 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: pinglanlu --- docs/pages/build/cli/add-bridge.mdx | 2 +- docs/pages/build/cli/verify.mdx | 2 +- docs/pages/build/framework/state-machine/genesis-state.mdx | 2 +- docs/pages/build/guides/tutorials/counter.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/pages/build/cli/add-bridge.mdx b/docs/pages/build/cli/add-bridge.mdx index c304b33..f3d38a4 100644 --- a/docs/pages/build/cli/add-bridge.mdx +++ b/docs/pages/build/cli/add-bridge.mdx @@ -38,5 +38,5 @@ Enter the address and hit enter. Output if it passes all the checks: ```bash [terminal] -✔ 🌉 Succesfully added bridge contract to AppInbox +✔ 🌉 Successfully added bridge contract to AppInbox ``` diff --git a/docs/pages/build/cli/verify.mdx b/docs/pages/build/cli/verify.mdx index 5d39588..7ae1b59 100644 --- a/docs/pages/build/cli/verify.mdx +++ b/docs/pages/build/cli/verify.mdx @@ -24,7 +24,7 @@ EXAMPLES $ npx @stackr/cli@latest verify ``` -The AppInbox addresss will be read from the `deployment.json` file otherwise error would be thrown. +The AppInbox address will be read from the `deployment.json` file otherwise error would be thrown. Output if it passes all the checks: ```bash [terminal] diff --git a/docs/pages/build/framework/state-machine/genesis-state.mdx b/docs/pages/build/framework/state-machine/genesis-state.mdx index 4f375ca..c18c49a 100644 --- a/docs/pages/build/framework/state-machine/genesis-state.mdx +++ b/docs/pages/build/framework/state-machine/genesis-state.mdx @@ -1,6 +1,6 @@ # Genesis State [The state at which the state machine starts] -The genesis state is the initial state of the state machine. This state is serialized and stored as the begininng of the rollup inside the `AppInbox` contract. +The genesis state is the initial state of the state machine. This state is serialized and stored as the beginning of the rollup inside the `AppInbox` contract. The genesis state is stored in a `genesis-state.json` file in the root of the project. This file is used to initialize the state machine with the initial state. The CLI also uses this file to register the rollup with the `AppInbox` contract. diff --git a/docs/pages/build/guides/tutorials/counter.mdx b/docs/pages/build/guides/tutorials/counter.mdx index b0665e3..3d5079f 100644 --- a/docs/pages/build/guides/tutorials/counter.mdx +++ b/docs/pages/build/guides/tutorials/counter.mdx @@ -268,7 +268,7 @@ export { stackrConfig }; ## Define the Rollup -Once we are done with the state machine, we can define the rollup using the `MicroRollup` class from the SDK which includes all the neccessary components to run the state machine. +Once we are done with the state machine, we can define the rollup using the `MicroRollup` class from the SDK which includes all the necessary components to run the state machine. The rollup takes 2 parameters: