Skip to content

Commit 6503a2a

Browse files
committed
Update README
1 parent 6992f0f commit 6503a2a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tools/Stateless/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For details, see the [Makefile](./Makefile).
2828

2929
### Input serialization
3030

31-
The input data (`input.bin`) is a simple concatenation of 3 sections: `chain_id | block | witness`, as follows:
31+
The input data is a simple concatenation of 3 sections: `chain_id | block | witness`, as follows:
3232

3333
```
3434
chain_id: u64le
@@ -51,3 +51,13 @@ The witness data comes from `debug_executionWitness` and is deserialized to the
5151
"state": [[]]
5252
}
5353
```
54+
55+
Starting from Zisk v0.16.0, the input data (`input.bin`) must be framed as follows when specified with the `--inputs` option:
56+
57+
```
58+
[len: u64le][data][zero-padding]
59+
```
60+
61+
Zero-padding is required when the data length isn't a multiple of 8.
62+
63+
For the old behavior, use the `--legacy-inputs` option.

0 commit comments

Comments
 (0)