File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff 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```
3434chain_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.
You can’t perform that action at this time.
0 commit comments