From 5d1d30857fdaf66df015a7a25c5579a55b621988 Mon Sep 17 00:00:00 2001 From: Long FlyBridge Date: Thu, 9 Jan 2025 03:37:40 +0800 Subject: [PATCH] chore: fix some typos in comment (#2880) Signed-off-by: longxiangqiao --- bin/saya/README.md | 4 ++-- bin/saya/saya.sh | 2 +- scripts/cargo_bench.sh | 2 +- scripts/spam_txs.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/saya/README.md b/bin/saya/README.md index c7c1e51987..050f77c141 100644 --- a/bin/saya/README.md +++ b/bin/saya/README.md @@ -37,7 +37,7 @@ cargo run --bin saya -- \ export DOJO_ACCOUNT_ADDRESS="" export DOJO_PRIVATE_KEY="" ``` - * Setup variables in or use enviroment variables ```bin/saya/scripts/0_account_setup.sh```, and run script + * Setup variables in or use environment variables ```bin/saya/scripts/0_account_setup.sh```, and run script * `sncast` doesn't support environment variables, for now, so you may have to set the options manually. **During this tutorial, we will export environment variables, so you must remain in the same shell session**. @@ -166,7 +166,7 @@ cargo run --bin saya -- \ If not (this includes Apple Silicon), some emulation will take place to run the prover on your machine, and this is very very slow. It's important that the `--start-block` of Saya is the first block produced by Katana as for now Katana is not fetching events from the forked network. To get this value, you can add one to the `SAYA_FORK_BLOCK_NUMBER` value. - **Currently saya supports only persistant mode, ephermal will be implemented in future + **Currently saya supports only persistent mode, ephermal will be implemented in future ```bash cargo run -r --bin saya -- \ diff --git a/bin/saya/saya.sh b/bin/saya/saya.sh index b94da4fd3f..0fba3c7831 100755 --- a/bin/saya/saya.sh +++ b/bin/saya/saya.sh @@ -23,7 +23,7 @@ SAYA_PILTOVER_STARTING_STATE_ROOT=0 SAYA_CONFIG_HASH=42 SAYA_PROGRAM_HASH=0x2aa9e430c145b26d681a8087819ed5bff93f5596105d0e74f00fc7caa46fa18 #need to be reupdated -# Set after runnig the script +# Set after running the script SAYA_WORLD_ADDRESS="" SAYA_WORLD_PREPARED="" # Set to anything after preparing the world successfully for the first time diff --git a/scripts/cargo_bench.sh b/scripts/cargo_bench.sh index f4652a37d5..ac165fdc19 100644 --- a/scripts/cargo_bench.sh +++ b/scripts/cargo_bench.sh @@ -1,7 +1,7 @@ #!/bin/bash set -euxo pipefail -# Can be run for one intergration test with: `--test TEST_NAME` +# Can be run for one integration test with: `--test TEST_NAME` # prepare contract sozo --manifest-path crates/benches/contracts/Scarb.toml build diff --git a/scripts/spam_txs.sh b/scripts/spam_txs.sh index d42ac22884..12d976daa8 100644 --- a/scripts/spam_txs.sh +++ b/scripts/spam_txs.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# This scripts spams transactions to the spawn-and-move example by targetting +# This scripts spams transactions to the spawn-and-move example by targeting # the set_models function. # # Usage: