Commit 8fd37354 authored by protolambda's avatar protolambda

specs: clarify data reads

parent 0ced071c
...@@ -518,7 +518,7 @@ To save computational overhead, only `254` bits per field element are used for r ...@@ -518,7 +518,7 @@ To save computational overhead, only `254` bits per field element are used for r
`127` bytes of application-layer rollup data is encoded at a time, into 4 adjacent field elements of the blob: `127` bytes of application-layer rollup data is encoded at a time, into 4 adjacent field elements of the blob:
```python ```python
# read(N): read N bytes from the application-layer rollup-data. # read(N): read the next N bytes from the application-layer rollup-data. The next read starts where the last stopped.
# write(V): append V (one or more bytes) to the raw blob. # write(V): append V (one or more bytes) to the raw blob.
bytes tailA = read(31) bytes tailA = read(31)
byte x = read(1) byte x = read(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment