chore: fix some comments (#10519)

Signed-off-by: jianghuyiyuan <shuangcui@live.com>
pull/10551/head
jianghuyiyuan 4 months ago committed by GitHub
parent 79e7bc7f9a
commit 24b1c8db1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/explorer/lib/explorer/chain/arbitrum/batch_block.ex
  2. 2
      apps/explorer/lib/explorer/chain/arbitrum/batch_transaction.ex
  3. 2
      apps/explorer/lib/explorer/chain/arbitrum/da_multi_purpose_record.ex
  4. 2
      apps/explorer/lib/explorer/chain/arbitrum/l1_batch.ex
  5. 2
      apps/explorer/lib/explorer/chain/arbitrum/l1_execution.ex
  6. 2
      apps/explorer/lib/explorer/chain/arbitrum/lifecycle_transaction.ex
  7. 2
      apps/explorer/lib/explorer/chain/arbitrum/message.ex

@ -18,7 +18,7 @@ defmodule Explorer.Chain.Arbitrum.BatchBlock do
@required_attrs ~w(batch_number block_number)a
@typedoc """
Descriptor of the a rollup block included in an Arbitrum batch:
Descriptor of the rollup block included in an Arbitrum batch:
* `batch_number` - The number of the Arbitrum batch.
* `block_number` - The number of the rollup block.
* `confirmation_id` - The ID of the confirmation L1 transaction from

@ -17,7 +17,7 @@ defmodule Explorer.Chain.Arbitrum.BatchTransaction do
@required_attrs ~w(batch_number tx_hash)a
@typedoc """
Descriptor of the a rollup transaction included in an Arbitrum batch:
Descriptor of the rollup transaction included in an Arbitrum batch:
* `batch_number` - The number of the Arbitrum batch.
* `tx_hash` - The hash of the rollup transaction.
"""

@ -22,7 +22,7 @@ defmodule Explorer.Chain.Arbitrum.DaMultiPurposeRecord do
@allowed_attrs @optional_attrs ++ @required_attrs
@typedoc """
Descriptor of the a multi purpose record related to Data Availability for Arbitrum rollups:
Descriptor of the multi purpose record related to Data Availability for Arbitrum rollups:
* `data_key` - The hash of the data key.
* `data_type` - The type of the data.
* `data` - The data

@ -23,7 +23,7 @@ defmodule Explorer.Chain.Arbitrum.L1Batch do
@allowed_attrs @optional_attrs ++ @required_attrs
@typedoc """
Descriptor of the a L1 batch for Arbitrum rollups:
Descriptor of the L1 batch for Arbitrum rollups:
* `number` - The number of the Arbitrum batch.
* `transactions_count` - The number of transactions in the batch.
* `start_block` - The number of the first block in the batch.

@ -16,7 +16,7 @@ defmodule Explorer.Chain.Arbitrum.L1Execution do
@required_attrs ~w(message_id execution_id)a
@typedoc """
Descriptor of the a L1 execution transaction related to a L2 to L1 message on Arbitrum rollups:
Descriptor of the L1 execution transaction related to a L2 to L1 message on Arbitrum rollups:
* `message_id` - The ID of the message from `Explorer.Chain.Arbitrum.Message`.
There could be situations when an execution of a message is
discovered, but the message itself is not indexed yet.

@ -18,7 +18,7 @@ defmodule Explorer.Chain.Arbitrum.LifecycleTransaction do
@required_attrs ~w(id hash block_number timestamp status)a
@typedoc """
Descriptor of the a L1 transaction changing state of transactions and blocks of Arbitrum rollups:
Descriptor of the L1 transaction changing state of transactions and blocks of Arbitrum rollups:
* `id` - The ID of the transaction used for referencing.
* `hash` - The hash of the L1 transaction.
* `block_number` - The number of the L1 block where the transaction is included.

@ -20,7 +20,7 @@ defmodule Explorer.Chain.Arbitrum.Message do
@allowed_attrs @optional_attrs ++ @required_attrs
@typedoc """
Descriptor of the a L1<->L2 message on Arbitrum rollups:
Descriptor of the L1<->L2 message on Arbitrum rollups:
* `direction` - The direction of the message: `:to_l2` or `:from_l2`.
* `message_id` - The ID of the message used for referencing.
* `originator_address` - The address of the message originator. The fields

Loading…
Cancel
Save