From 4f28442a08966add5c299e046be903d19db4750b Mon Sep 17 00:00:00 2001 From: wellweek <148746285+wellweek@users.noreply.github.com> Date: Fri, 21 Mar 2025 14:33:40 +0800 Subject: [PATCH] chore: fix some typos --- cmd/retest/retest.go | 2 +- cmd/ulxly/ClaimAssetUsage.md | 2 +- cmd/ulxly/ClaimMessageUsage.md | 2 +- doc/polycli_ulxly_claim_asset.md | 2 +- doc/polycli_ulxly_claim_message.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/retest/retest.go b/cmd/retest/retest.go index 2e96341ea..1ab8a24c3 100644 --- a/cmd/retest/retest.go +++ b/cmd/retest/retest.go @@ -111,7 +111,7 @@ type EthTestPre struct { type EthTest struct { Pre map[string]EthTestPre `json:"pre"` // Pre determines preallocated accounts in the test case Transaction EthTestTx `json:"transaction"` // Transaction is usually a test transaction - Env EthTestEnv `json:"env"` // Env sets the environment for execution. This is not relvant usually for creating load + Env EthTestEnv `json:"env"` // Env sets the environment for execution. This is not relevant usually for creating load GenesisBlockHeader EthTestGenesis `json:"genesisBlockHeader"` // GenesisBlockHeader sets the typical genesis params of the network. Blocks []EthTestBlocks `json:"blocks"` // Blocks are the blocks that lead to the state being tested SealEngine string `json:"sealEngine"` // SealEngine is either Null or NoProof diff --git a/cmd/ulxly/ClaimAssetUsage.md b/cmd/ulxly/ClaimAssetUsage.md index 4af32127e..19591bd1f 100644 --- a/cmd/ulxly/ClaimAssetUsage.md +++ b/cmd/ulxly/ClaimAssetUsage.md @@ -11,7 +11,7 @@ This is the corresponding interface in the bridge contract: * | 0 | mainnetFlag | rollupIndex | localRootIndex | * note that only the rollup index will be used only in case the mainnet flag is 0 * note that global index do not assert the unused bits to 0. - * This means that when synching the events, the globalIndex must be decoded the same way that in the Smart contract + * This means that when syncing the events, the globalIndex must be decoded the same way that in the Smart contract * to avoid possible synch attacks * @param mainnetExitRoot Mainnet exit root * @param rollupExitRoot Rollup exit root diff --git a/cmd/ulxly/ClaimMessageUsage.md b/cmd/ulxly/ClaimMessageUsage.md index 5059b8f15..13e51c410 100644 --- a/cmd/ulxly/ClaimMessageUsage.md +++ b/cmd/ulxly/ClaimMessageUsage.md @@ -13,7 +13,7 @@ This command is used to claim a message type deposit. Here is the interface of t * | 0 | mainnetFlag | rollupIndex | localRootIndex | * note that only the rollup index will be used only in case the mainnet flag is 0 * note that global index do not assert the unused bits to 0. - * This means that when synching the events, the globalIndex must be decoded the same way that in the Smart contract + * This means that when syncing the events, the globalIndex must be decoded the same way that in the Smart contract * to avoid possible synch attacks * @param mainnetExitRoot Mainnet exit root * @param rollupExitRoot Rollup exit root diff --git a/doc/polycli_ulxly_claim_asset.md b/doc/polycli_ulxly_claim_asset.md index e2401c506..6b9492cd1 100644 --- a/doc/polycli_ulxly_claim_asset.md +++ b/doc/polycli_ulxly_claim_asset.md @@ -32,7 +32,7 @@ This is the corresponding interface in the bridge contract: * | 0 | mainnetFlag | rollupIndex | localRootIndex | * note that only the rollup index will be used only in case the mainnet flag is 0 * note that global index do not assert the unused bits to 0. - * This means that when synching the events, the globalIndex must be decoded the same way that in the Smart contract + * This means that when syncing the events, the globalIndex must be decoded the same way that in the Smart contract * to avoid possible synch attacks * @param mainnetExitRoot Mainnet exit root * @param rollupExitRoot Rollup exit root diff --git a/doc/polycli_ulxly_claim_message.md b/doc/polycli_ulxly_claim_message.md index 3838624b2..3c9a8b467 100644 --- a/doc/polycli_ulxly_claim_message.md +++ b/doc/polycli_ulxly_claim_message.md @@ -34,7 +34,7 @@ This command is used to claim a message type deposit. Here is the interface of t * | 0 | mainnetFlag | rollupIndex | localRootIndex | * note that only the rollup index will be used only in case the mainnet flag is 0 * note that global index do not assert the unused bits to 0. - * This means that when synching the events, the globalIndex must be decoded the same way that in the Smart contract + * This means that when syncing the events, the globalIndex must be decoded the same way that in the Smart contract * to avoid possible synch attacks * @param mainnetExitRoot Mainnet exit root * @param rollupExitRoot Rollup exit root