From 324094b95a6dee73f10bfb193bbb441ae8903caf Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:57:06 +0800 Subject: [PATCH] fix: some typos --- packages/bridge-ui-v2/README.md | 2 +- packages/bridge-ui-v2/src/libs/proof/Prover.ts | 2 +- packages/protocol/test/L1/TaikoL1Oracle.t.sol | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/bridge-ui-v2/README.md b/packages/bridge-ui-v2/README.md index 1b02780394..38d5f80fc2 100644 --- a/packages/bridge-ui-v2/README.md +++ b/packages/bridge-ui-v2/README.md @@ -48,7 +48,7 @@ These are are the additional configuration files that have to be filled in: | **/config/configuredBridges.json** | Defines the chains that are connected via taiko bridges and lists the contract addresses | | **/config/configuredChains.json** | Defines some metadata for the chains, such as name, icons, explorer URL, etc. | | **/config/configuredRelayer.json** | If chains have a relayer, the URL and the chain IDs it covers are entered here | -| **/config/configuredCustomTokens.json** | Defines a list of tokens that should be availabe in the token dropdowns | +| **/config/configuredCustomTokens.json** | Defines a list of tokens that should be available in the token dropdowns | --- diff --git a/packages/bridge-ui-v2/src/libs/proof/Prover.ts b/packages/bridge-ui-v2/src/libs/proof/Prover.ts index b3cb623d3b..e0c457c992 100644 --- a/packages/bridge-ui-v2/src/libs/proof/Prover.ts +++ b/packages/bridge-ui-v2/src/libs/proof/Prover.ts @@ -47,7 +47,7 @@ export class Prover { const key = await this._getKey(contractAddress, msgHash); // Unfortunately, since this method is stagnant, it hasn't been included into Viem lib - // as supported methods. Still stupported by Alchmey, Infura and others. + // as supported methods. Still stupported by Alchemy, Infura and others. // See https://eips.ethereum.org/EIPS/eip-1186 // Following is a workaround to support this method. const clientWithEthProofRequest = client as ClientWithEthGetProofRequest; diff --git a/packages/protocol/test/L1/TaikoL1Oracle.t.sol b/packages/protocol/test/L1/TaikoL1Oracle.t.sol index 44cc9df379..6de96fc146 100644 --- a/packages/protocol/test/L1/TaikoL1Oracle.t.sol +++ b/packages/protocol/test/L1/TaikoL1Oracle.t.sol @@ -166,7 +166,7 @@ contract TaikoL1OracleTest is TaikoL1TestBase { /// @dev So in case we have regular proving mechanism we shall check if /// still a cooldown happens /// @dev when proving a block (in a normal way). - /// @notice In case oracle_prover is disbaled, there + /// @notice In case oracle_prover is disabled, there /// is no reason why /// @notice cooldowns be above 0 min tho (!). function test_L1_if_oracle_is_disabled_cooldown_is_still_as_proofRegularCooldown( @@ -391,7 +391,7 @@ contract TaikoL1OracleTest is TaikoL1TestBase { proveBlock(Carol, Carol, meta, parentHash, blockHash, signalRoot); /// @notice: Based on the current codebase we still need to wait - /// even if the system and oracle proofs are disbaled, which + /// even if the system and oracle proofs are disabled, which /// @notice: in such case best to set 0 mins (cause noone could /// overwrite a valid fk). vm.warp(block.timestamp + conf.proofRegularCooldown);