Skip to content

Commit

Permalink
fix: estimateL1ToL2Execute parameter description (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
petarTxFusion authored Aug 15, 2024
1 parent 8479c78 commit 14a5537
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions content/10.js/00.ethers/05.api/10.v5/00.providers/01.provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,13 @@ Returns gas estimation for an L1 to L2 execute operation.

#### Inputs

| Parameter | Type | Description |
| -------------------- | ------------------------- | ----------------------------------------------------------------------------------------------------- |
| `contractAddress` | `Address` | Address of contract. |
| `calldata` | `BytesLike` | The transaction call data. |
| Parameter | Type | Description |
| -------------------- | ------------------------- |--------------------------------------------------------------------------------------------|
| `contractAddress` | `Address` | Address of contract. |
| `calldata` | `BytesLike` | The transaction call data. |
| `caller?` | `Address` | Caller address. |
| `l2Value?` | `BigNumberish` | Current L2 gas value. |
| `factoryDeps?` | `BytesLike[]` | Byte array containing contract bytecode. |
| `l2Value?` | `BigNumberish` | The deposit amount. |
| `factoryDeps?` | `BytesLike[]` | Byte array containing contract bytecode. |
| `gasPerPubdataByte?` | `BigNumberish` | Constant representing current amount of gas per byte. |
| `overrides?` | `ethers.PayableOverrides` | Transaction's overrides which may be used to pass l2 `gasLimit`, `gasPrice`, `value`, etc. |

Expand Down
12 changes: 6 additions & 6 deletions content/10.js/00.ethers/05.api/20.v6/00.providers/01.provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,13 @@ Returns gas estimation for an L1 to L2 execute operation.

#### Inputs

| Parameter | Type | Description |
| -------------------- | ------------------ | ----------------------------------------------------------------------------------------------------- |
| `contractAddress` | `Address` | Address of contract. |
| `calldata` | `string` | The transaction call data. |
| Parameter | Type | Description |
| -------------------- | ------------------ |--------------------------------------------------------------------------------------------|
| `contractAddress` | `Address` | Address of contract. |
| `calldata` | `string` | The transaction call data. |
| `caller?` | `Address` | Caller address. |
| `l2Value?` | `BigNumberish` | Current L2 gas value. |
| `factoryDeps?` | `BytesLike[]` | Byte array containing contract bytecode. |
| `l2Value?` | `BigNumberish` | The deposit amount. |
| `factoryDeps?` | `BytesLike[]` | Byte array containing contract bytecode. |
| `gasPerPubdataByte?` | `BigNumberish` | Constant representing current amount of gas per byte. |
| `overrides?` | `ethers.Overrides` | Transaction's overrides which may be used to pass l2 `gasLimit`, `gasPrice`, `value`, etc. |

Expand Down
4 changes: 2 additions & 2 deletions content/50.swift/02.api/00.clients/01.client.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ Returns gas estimation for an L1 to L2 execute operation.
#### Inputs

| Parameter | Type | Description |
| -------------------- | -------------- | ---------------------------------------------------------------- |
| -------------------- | -------------- |------------------------------------------------------------------|
| `to` | `String` | Address of contract. |
| `from` | `String` | Caller address. |
| `calldata` | `Data` | The transaction call data. |
| `amount` | `BigUInt` | Current L2 gas value (optional). |
| `amount` | `BigUInt` | The deposit amount (optional). |
| `gasPerPubdataByte?` | `BigNumberish` | Constant representing current amount of gas per byte (optional). |

#### Example
Expand Down

0 comments on commit 14a5537

Please sign in to comment.