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

Commit

Permalink
chore: format nested bullets (#762)
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis <[email protected]>
  • Loading branch information
abdullah-txfusion and idea404 authored Nov 9, 2023
1 parent 84ef6e3 commit b49f430
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/dev/how-to/send-message-l2-l1.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,10 @@ function proveL2MessageInclusion(
- `_blockNumber`: L1 batch number in which the L2 block was included; retrievable using the `getBlock` method.
- `_index`: Index of the L2 log in the block; returned as `id` by the [`zks_getL2ToL1LogProof`](../../api/api.md#zks-getl2tol1logproof) method.
`_message`: Parameter holding the message data. It should be an object containing: - `sender`: Address that sent the message from L2. - `data`: Message sent in bytes. - `txNumberInBlock`: Index of the transaction in the L2 block; returned as `transactionIndex` with [`getTransactionReceipt`](https://docs.ethers.org/v5/single-page/#/v5/api/providers/provider/-%23-Provider-getTransactionReceipt) on an Ethers `Provider` object.
- `_message`: Parameter holding the message data. It should be an object containing:
- `sender`: Address that sent the message from L2.
- `data`: Message sent in bytes.
- `txNumberInBlock`: Index of the transaction in the L2 block; returned as `transactionIndex` with [`getTransactionReceipt`](https://docs.ethers.org/v5/single-page/#/v5/api/providers/provider/-%23-Provider-getTransactionReceipt) on an Ethers `Provider` object.
- `_proof`: Merkle proof of the message inclusion; retrieved by observing Ethereum or using the `zks_getL2ToL1LogProof` method of the zksync-web3 API.
:::
Expand Down

0 comments on commit b49f430

Please sign in to comment.