From ff7012502113c54aa4970f484b4de26222acb7b5 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:10:06 +0200 Subject: [PATCH 1/7] fix typos scroll-messenger-cross-chain-interaction.mdx --- .../guides/scroll-messenger-cross-chain-interaction.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/docs/en/developers/guides/scroll-messenger-cross-chain-interaction.mdx b/src/content/docs/en/developers/guides/scroll-messenger-cross-chain-interaction.mdx index 15d26035e..2083b1ed4 100644 --- a/src/content/docs/en/developers/guides/scroll-messenger-cross-chain-interaction.mdx +++ b/src/content/docs/en/developers/guides/scroll-messenger-cross-chain-interaction.mdx @@ -82,10 +82,10 @@ We pass the message by executing `executeFunctionCrosschain` and passing the fol - If you deployed it on Sepolia use `0x50c7d3e7f7c656493D1D76aaa1a836CedfCBB16A`. If you deployed on Scroll use `0xBa50f5340FB9F3Bd074bD638c9BE13eCB36E603d`. - `targetAddress`: The address of the `Greeter` contract on the opposite chain. - `value`: In this case, it is `0` because the `setGreeting`is not payable. -- `greeting`: This is the parameter that will be sent through the message. Try passing `“This message was crosschain!”` +- `greeting`: This is the parameter that will be sent through the message. Try passing `“This message was cross-chain!”` - `gasLimit`: - If you are sending the message from L1 to L2, around `5000` gas limit should be more than enough. - - If you are sending the message from L2 to L1, pass `0`, as the transaction be completed by executing an additional transaction on L1. + - If you are sending the message from L2 to L1, pass `0`, as the transaction to be completed by executing an additional transaction on L1. ### Relay the Message when sending from L2 to L1 @@ -117,6 +117,6 @@ in the [Scroll Messenger](/developers/l1-and-l2-bridging/the-scroll-messenger) a applications and users. -After executing and confirming the transaction on both L1 and L2, the new state of `greeting` on the `Greeter` contract should be `“This message was crosschain!”`. Sending a message from one chain to the other should take around 20 minutes after the transactions are confirmed on the origin chain. +After executing and confirming the transaction on both L1 and L2, the new state of `greeting` on the `Greeter` contract should be `“This message was cross-chain!”`. Sending a message from one chain to the other should take around 20 minutes after the transactions are confirmed on the origin chain. Congratulations, you now executed a transaction from one chain to the other using our native bridge! From 7cd759d00ad8acd01b322969b730ac00656648fd Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:12:25 +0200 Subject: [PATCH 2/7] fix typos enforced-transactions.mdx --- .../developers/l1-and-l2-bridging/enforced-transactions.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/en/developers/l1-and-l2-bridging/enforced-transactions.mdx b/src/content/docs/en/developers/l1-and-l2-bridging/enforced-transactions.mdx index 21e2bc15e..e05ee6533 100644 --- a/src/content/docs/en/developers/l1-and-l2-bridging/enforced-transactions.mdx +++ b/src/content/docs/en/developers/l1-and-l2-bridging/enforced-transactions.mdx @@ -25,10 +25,10 @@ Add an enforced transaction to L2 from an EOA account sender. | Parameter | Description | | ---------- | ---------------------------------------------------------- | -| \_target | The address of target contract to call in L2. | +| \_target | The address of the target contract to call in L2. | | \_value | The value passed. | | \_gasLimit | The maximum gas should be used for this transaction in L2. | -| \_data | The calldata passed to target contract. | +| \_data | The calldata passed to the target contract. | ### sendTransaction From e740fcc0cfd7bb6ecda877c7be8fde7696fa52b3 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:13:15 +0200 Subject: [PATCH 3/7] fix typo erc1155-token-bridge.mdx --- .../en/developers/l1-and-l2-bridging/erc1155-token-bridge.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/en/developers/l1-and-l2-bridging/erc1155-token-bridge.mdx b/src/content/docs/en/developers/l1-and-l2-bridging/erc1155-token-bridge.mdx index 3a83794d7..09d629cb9 100644 --- a/src/content/docs/en/developers/l1-and-l2-bridging/erc1155-token-bridge.mdx +++ b/src/content/docs/en/developers/l1-and-l2-bridging/erc1155-token-bridge.mdx @@ -16,7 +16,7 @@ ERC1155 bridging from L1 to L2 is done via the L1ERC1155Gateway. Similarly to ER From 6134494b97f13350d5cf3a63d1d3d8210538d95e Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:15:32 +0200 Subject: [PATCH 4/7] fix typo ethereum-and-scroll-differences.mdx --- .../docs/en/developers/ethereum-and-scroll-differences.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/en/developers/ethereum-and-scroll-differences.mdx b/src/content/docs/en/developers/ethereum-and-scroll-differences.mdx index 4328eb611..ce067bfae 100644 --- a/src/content/docs/en/developers/ethereum-and-scroll-differences.mdx +++ b/src/content/docs/en/developers/ethereum-and-scroll-differences.mdx @@ -63,7 +63,7 @@ type StateAccount struct { Related to this, we maintain two types of codehash for each contract bytecode: Keccak hash and Poseidon hash. -`KeccakCodeHash` is kept to maintain compatibility for `EXTCODEHASH`. `PoseidonCodeHash` is used for verifying correctness of bytecodes loaded in the zkEVM, where Poseidon hashing is far more efficient. +`KeccakCodeHash` is kept to maintain compatibility for `EXTCODEHASH`. `PoseidonCodeHash` is used for verifying the correctness of bytecodes loaded in the zkEVM, where Poseidon hashing is far more efficient. ### CodeSize From 234f0551d85359808a128663a5f991158c6d2f2b Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:48:29 +0200 Subject: [PATCH 5/7] fix typo makeComponentNode.ts --- integrations/utils/makeComponentNode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/utils/makeComponentNode.ts b/integrations/utils/makeComponentNode.ts index c624d909f..04b9b10d8 100644 --- a/integrations/utils/makeComponentNode.ts +++ b/integrations/utils/makeComponentNode.ts @@ -21,7 +21,7 @@ export function makeComponentNode( type: "mdxJsxFlowElement", name, attributes: Object.entries(attributes) - // Filter out non-truthy attributes to avoid empty attrs being parsed as `true`. + // Filter out non-truthy attributes to avoid empty attributes being parsed as `true`. .filter(([_k, v]) => v !== false && Boolean(v)) .map(([name, value]) => ({ type: "mdxJsxAttribute", From 72a1a39a0752076a694d3d0dd4a3bc6b383c85e5 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:50:21 +0200 Subject: [PATCH 6/7] fix typos link-to-wallet.ts --- src/scripts/link-to-wallet.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/link-to-wallet.ts b/src/scripts/link-to-wallet.ts index 1c79dc375..b4df286ed 100644 --- a/src/scripts/link-to-wallet.ts +++ b/src/scripts/link-to-wallet.ts @@ -182,7 +182,7 @@ const addChainToWallet = async (chainId: string, ethereum: MetaMaskInpageProvide } /** - * Functions which validates the format of Link address and interfacs with the contract to make sure + * Functions which validates the format of Link address and interacts with the contract to make sure * its metadata (e.g.: symbol) is valid * @param address * @param provider @@ -246,7 +246,7 @@ try { } // Detect when user initiates the chain switch from the webapp - // variable chainFromSwitch used to diffenrentiate when user switch the chain + // variable chainFromSwitch used to differentiate when user switch the chain // directly from wallet let chainFromSwitch: string window.addEventListener(initChainChangeEventName, (evt: any) => { From 104ff804a9ee1d77ab1b6061dea14e20d357da92 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Sat, 2 Dec 2023 10:52:08 +0200 Subject: [PATCH 7/7] fix typo button.css --- src/styles/design-system/components/button.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/design-system/components/button.css b/src/styles/design-system/components/button.css index 6052d0668..b44e9d207 100644 --- a/src/styles/design-system/components/button.css +++ b/src/styles/design-system/components/button.css @@ -1,6 +1,6 @@ /** * These are the styles that will be applied for all buttons globally. - * We want thse styles to be minimal, because our buttons can differ greatly, + * We want these styles to be minimal, because our buttons can differ greatly, * e.g. modal close button may not share styles with primary button. */ button {