Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 15b8c79

Browse files
MexicanAcetudorpintea999Dushyantgoswamipandabadgerfakefraud
authored
fix: typos across various docs (#867)
Co-authored-by: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Co-authored-by: Dushyant Goswami <66271106+Dushyantgoswami@users.noreply.github.com> Co-authored-by: pandabadger <33740825+pandabadger@users.noreply.github.com> Co-authored-by: Vehorny <153144728+vehorny@users.noreply.github.com>
1 parent 045ec2a commit 15b8c79

File tree

13 files changed

+23
-23
lines changed

13 files changed

+23
-23
lines changed

docs/build/developer-reference/differences-with-ethereum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Since the bytecode differs from Ethereum as zkSync uses a modified version of th
8989
For calls, you specify a memory slice to write the return data to, e.g. `out` and `outsize` arguments for
9090
`call(g, a, v, in, insize, out, outsize)`. In EVM, if `outsize != 0`, the allocated memory will grow to `out + outsize`
9191
(rounded up to the words) regardless of the `returndatasize`. On zkSync Era, `returndatacopy`, similar to `calldatacopy`,
92-
is implemented as a cycle iterating over return data with a few additional checks and trigerring a panic if
92+
is implemented as a cycle iterating over return data with a few additional checks and triggering a panic if
9393
`out + outsize > returndatasize` to simulate the same behavior as in EVM.
9494

9595
Thus, unlike EVM where memory growth occurs before the call itself, on zkSync Era, the necessary copying of return data

docs/build/developer-reference/fee-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ On zkSync Era this varies because we support custom and paymaster accounts. Thes
5252

5353
The transaction fee estimate depends on the entire transaction flow, including validation and execution. The `eth_estimateGas` function uses binary search to find the smallest gas value under which the transaction succeeds.
5454

55-
For more information, find out [how to estimate gas for various transactions types](../tutorials/how-to/estimate-gas.md).
55+
For more information, find out [how to estimate gas for various transaction types](../tutorials/how-to/estimate-gas.md).
5656

5757
For any Rust developers interested in the zkSync Era implementation for gas estimation, see the [Rust code in our repo](https://github.com/matter-labs/zksync-era/blob/48fe6e27110c1fe1a438c5375fb256890e8017b1/sdk/zksync-rs/src/operations/execute_contract.rs#L129).
5858

docs/build/developer-reference/l1-l2-interop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ L2 to L1 communication is based on transferring the data as a message, and not o
4646

4747
## Priority queue
4848

49-
1. All transactions types are supported by the priority queue.
49+
1. All transaction types are supported by the priority queue.
5050

5151
2. The priority queue must be fully permissionless to prevent malicious activity. For example, malicious users might send multiple transactions which push up the block gas limit to unworkable levels. To mitigate against this, submitting transactions to the priority queue is no longer free and users must pay a fee to the operator. To obtain the cost for sending an L2 to L1 message, please refer to [step 5 of how to send an L1 to L2 transaction](../../build/tutorials/how-to/send-transaction-l1-l2.md#step-by-step).

docs/build/sdks/go/accounts.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ fmt.Println("L1 deposit transaction: ", tx.Hash())
394394

395395
### `EstimateGasDeposit`
396396

397-
Estimates the amount of gas required for a deposit transaction on L1 network. Gas of approving ERC20 token is not included in estimation.
397+
Estimates the amount of gas required for a deposit transaction on L1 network. Gas of approving ERC20 token is not included in the estimation.
398398

399399
#### Inputs
400400

@@ -456,11 +456,11 @@ Proves the inclusion of the L2 -> L1 withdrawal message.
456456

457457
#### Inputs
458458

459-
| Parameter | Type | Description |
460-
| ---------------- | ------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
461-
| `auth` | [`*TransactOpts`](types/accounts.md#transactopts) (optional) | Transaction options. |
462-
| `withdrawalHash` | `common.Hash` | Hash of the L2 transaction where the withdrawal was initiated. |
463-
| `index` | `int` | In case there where multiple withdrawals in one transaction, you may pass an index of the withdrawal you want to finalize. |
459+
| Parameter | Type | Description |
460+
| ---------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
461+
| `auth` | [`*TransactOpts`](types/accounts.md#transactopts) (optional) | Transaction options. |
462+
| `withdrawalHash` | `common.Hash` | Hash of the L2 transaction where the withdrawal was initiated. |
463+
| `index` | `int` | In case there were multiple withdrawals in one transaction, you may pass an index of the withdrawal you want to finalize. |
464464

465465
```go
466466
FinalizeWithdraw(auth *TransactOpts, withdrawalHash common.Hash, index int) (*types.Transaction, error)

docs/build/sdks/go/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This document will focus solely on how to pass these arguments to the SDK.
2121

2222
## EIP-712 Metadata
2323

24-
[`EIP712Meta`](types/types.md#eip712meta) contains EIP-712 transaction metadata. Following objects contain `EIP712Meta` and provides working with
24+
[`EIP712Meta`](types/types.md#eip712meta) contains EIP-712 transaction metadata. The following objects contain `EIP712Meta` and provides working with
2525
EIP-712 transactions:
2626

2727
- [`types.CallMsg`](types/types.md#callmsg)

docs/build/support/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Our [Block Explorer](https://explorer.zksync.io) will show everything you may ne
169169

170170
The contract address derivation formula is different from the regular EVM approach. Even if a contract is deployed from the same account address with the same nonce, the zkSync Era contract address will not be the same as it is in another EVM network. This means, for example, that no one will be able to claim an existing Ethereum address of your protocol to try to trick users into interacting with a malicious version of it.
171171

172-
## What is the storage limit for smart contract on zkSync Era?
172+
## What is the storage limit for smart contracts on zkSync Era?
173173

174174
The current limit is 3600000000 gas.
175175

docs/build/tooling/hardhat/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export default async function (hre: HardhatRuntimeEnvironment) {
189189
// // Wait until the deposit is processed on zkSync
190190
// await depositHandle.wait();
191191

192-
// Deploy this contract. The returned object will be of a `Contract` type, similarly to ones in `ethers`.
192+
// Deploy this contract. The returned object will be of a `Contract` type, similar to ones in `ethers`.
193193
// `greeting` is an argument for contract constructor.
194194
const parsedFee = ethers.formatEther(deploymentFee);
195195
console.log(`The deployment is estimated to cost ${parsedFee} ETH`);

docs/build/tooling/hardhat/hardhat-zksync-deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Deployer {
9797

9898
/**
9999
* Sends a deploy transaction to the zkSync network.
100-
* For now it uses defaults values for the transaction parameters:
100+
* For now it uses default values for the transaction parameters:
101101
*
102102
* @param artifact The previously loaded artifact object.
103103
* @param constructorArguments The list of arguments to be passed to the contract constructor.
@@ -163,7 +163,7 @@ This plugin facilitates the compilation and deployment of missing libraries for
163163
Starting from version 1.13.14, the zksolc compiler has been enhanced to identify missing libraries.
164164
:::
165165
166-
Complex library dependecy tree is also supported. It ensures libraries are compiled and deployed in a structured manner, starting from the most foundational library to the topmost dependent one.
166+
Complex library dependency tree is also supported. It ensures libraries are compiled and deployed in a structured manner, starting from the most foundational library to the topmost dependent one.
167167
168168
Example:
169169

docs/build/tooling/node-providers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ head:
2525

2626
### DRPC
2727

28-
[DRPC](https://drpc.org/) offers access to distributed network of independent third-party partners and public nodes for Base. They provide a free tier that allows for an unlimited amount of requests over public nodes, or a paid tier which provides access to all providers, as well as other additional features.
28+
[DRPC](https://drpc.org/public-endpoints/zksync) offers access to distributed network of independent third-party partners and public nodes for Base. They provide a free tier that allows for an unlimited amount of requests over public nodes, or a paid tier which provides access to all providers, as well as other additional features.
2929

3030
### Quicknode
3131

docs/build/tooling/zksync-cli/examples/contract-interaction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The `npx zksync-cli contract read` command executes read-only methods on contrac
3232

3333
### Read Options
3434

35-
You do not need to specify options bellow, you will be prompted to enter them if they are not specified.
35+
You do not need to specify options below, you will be prompted to enter them if they are not specified.
3636

3737
- `--chain <chain-name>`: Select the chain to use
3838
- `--rpc <url>`: Provide RPC URL instead of selecting a chain
@@ -58,7 +58,7 @@ The `npx zksync-cli contract write` command performs write operations on smart c
5858

5959
### Write Options
6060

61-
You do not need to specify options bellow, you will be prompted to enter them if they are not specified.
61+
You do not need to specify options below, you will be prompted to enter them if they are not specified.
6262

6363
- `--chain <chain-name>`: Select the chain to use
6464
- `--rpc <url>`: Provide RPC URL instead of selecting a chain

0 commit comments

Comments
 (0)