Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 5cf0d03

Browse files
committed
update doc
1 parent 76543c0 commit 5cf0d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/datastreamer/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ truncate Runs the offline tool to truncate the stream file
7676
Almost all the decode options can work online, connecting to a node serving the stream, or offline, accessing the data stream files directly. The only one that only works online is `decode-batchl2data`.
7777

7878
- **Decode Batch**: Decodes a Batch from a given number and shows all its data, l2blocks and transactions.
79-
- **Decode BatchL2Data**: Decodes a Batch from a given number and shows its BatchL2Data. It may be useful to compare results against the RPC endpoint `zkevm_getBatchByNumber`
79+
- **Decode BatchL2Data**: Decodes a Batch from a given number and shows its BatchL2Data. It may be useful to compare results against the RPC endpoint `zkevm_getBatchByNumber`.
8080
- **Decode Entry**: Decodes an entry and shows its content. Entry can be anything: bookmark, batch start, batch end, l2block, updateGER or transaction.
8181
- **Decode L2Block**: Decodes a L2Block from a given number and shows all its data and transactions.
8282
- **Truncate**: Truncates the file to a given entry number. Useful in case of unwinding the network.
@@ -145,7 +145,7 @@ Local Exit Root.: 0x000000000000000000000000000000000000000000000000000000000000
145145
`make decode-batchl2data 1`
146146

147147
```
148-
148+
BatchL2Data.....: 0b662f5d4c00000000f9010380808401c9c38094ca127484cda2b723c4c03558b94749184d3cfa9880b8e4f811bff7000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a40d5f56745a118d0906a34e69aec8c0db1cb8fa000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ca1ab1e0000000000000000000000000000000000000000000000000000000005ca1ab1e1bff
149149
```
150150

151151
### Get content of L2Block 1 from an online Data Stream

0 commit comments

Comments
 (0)