Open meng-xu-cs opened 1 year ago
WIP, not intended for landing until feature complete Reviewers are tagged for information and discussion only
Prover currently supports two collection data types, (including mutable borrow and write-backs):
vector<T>
num -> T
map<K, V>
K
V
This PR investigates the feasibility of whether the prover can support a third data type:
store
The semantics of the store type are defined in the INTRINSIC_TYPE_KVS intrinsic and its associated functions.
INTRINSIC_TYPE_KVS
Yes
CI
WIP, not intended for landing until feature complete Reviewers are tagged for information and discussion only
Motivation
Prover currently supports two collection data types, (including mutable borrow and write-backs):
vector<T>
: which is essentially a mapping ofnum -> T
map<K, V>
: a homogeneous table where all keys are in typeK
and values in typeV
This PR investigates the feasibility of whether the prover can support a third data type:
store
: a heterogeneous table where keys and values can be in different typesThe semantics of the
store
type are defined in theINTRINSIC_TYPE_KVS
intrinsic and its associated functions.Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
CI