From 14a55371c79d693cc4f2b225e063d0a65b8a316f Mon Sep 17 00:00:00 2001 From: petarTxFusion <130662325+petarTxFusion@users.noreply.github.com> Date: Thu, 15 Aug 2024 22:59:12 +0200 Subject: [PATCH] fix: `estimateL1ToL2Execute` parameter description (#82) --- .../05.api/10.v5/00.providers/01.provider.md | 12 ++++++------ .../05.api/20.v6/00.providers/01.provider.md | 12 ++++++------ content/50.swift/02.api/00.clients/01.client.md | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/content/10.js/00.ethers/05.api/10.v5/00.providers/01.provider.md b/content/10.js/00.ethers/05.api/10.v5/00.providers/01.provider.md index 88416b3..afa7465 100644 --- a/content/10.js/00.ethers/05.api/10.v5/00.providers/01.provider.md +++ b/content/10.js/00.ethers/05.api/10.v5/00.providers/01.provider.md @@ -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. | diff --git a/content/10.js/00.ethers/05.api/20.v6/00.providers/01.provider.md b/content/10.js/00.ethers/05.api/20.v6/00.providers/01.provider.md index 919ccbd..c5aff2f 100644 --- a/content/10.js/00.ethers/05.api/20.v6/00.providers/01.provider.md +++ b/content/10.js/00.ethers/05.api/20.v6/00.providers/01.provider.md @@ -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. | diff --git a/content/50.swift/02.api/00.clients/01.client.md b/content/50.swift/02.api/00.clients/01.client.md index 7cb24da..adb8cbc 100644 --- a/content/50.swift/02.api/00.clients/01.client.md +++ b/content/50.swift/02.api/00.clients/01.client.md @@ -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