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]>
286 B
286 B
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:
- Slice of N bytes
- Delimiter byte
0xff - Appended 0s to the nearest multiple of 32 bytes