mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
* predicate: document predicate results size cap * Update predicate/Results.md Co-authored-by: Darioush Jalali <[email protected]> Signed-off-by: aaronbuchwald <[email protected]> --------- Signed-off-by: aaronbuchwald <[email protected]> Co-authored-by: Darioush Jalali <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]>
12 lines
286 B
Markdown
12 lines
286 B
Markdown
# Predicate
|
|
|
|
This package contains the predicate data structure and its encoding and helper functions to unpack/pack the data structure.
|
|
|
|
## Encoding
|
|
|
|
A byte slice of size N is encoded as:
|
|
|
|
1. Slice of N bytes
|
|
2. Delimiter byte `0xff`
|
|
3. Appended 0s to the nearest multiple of 32 bytes
|